Struct ash::vk::VideoPictureResourceInfoKHRBuilder
source · pub struct VideoPictureResourceInfoKHRBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> VideoPictureResourceInfoKHRBuilder<'a>
impl<'a> VideoPictureResourceInfoKHRBuilder<'a>
pub fn coded_offset(self, coded_offset: Offset2D) -> Self
pub fn coded_extent(self, coded_extent: Extent2D) -> Self
pub fn base_array_layer(self, base_array_layer: u32) -> Self
pub fn image_view_binding(self, image_view_binding: ImageView) -> Self
sourcepub fn build(self) -> VideoPictureResourceInfoKHR
pub fn build(self) -> VideoPictureResourceInfoKHR
Calling build will discard all the lifetime information. Only call this if
necessary! Builders implement Deref
targeting their corresponding Vulkan struct,
so references to builders can be passed directly to Vulkan functions.
Trait Implementations§
source§impl<'a> Deref for VideoPictureResourceInfoKHRBuilder<'a>
impl<'a> Deref for VideoPictureResourceInfoKHRBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for VideoPictureResourceInfoKHRBuilder<'a>
impl<'a> RefUnwindSafe for VideoPictureResourceInfoKHRBuilder<'a>
impl<'a> !Send for VideoPictureResourceInfoKHRBuilder<'a>
impl<'a> !Sync for VideoPictureResourceInfoKHRBuilder<'a>
impl<'a> Unpin for VideoPictureResourceInfoKHRBuilder<'a>
impl<'a> UnwindSafe for VideoPictureResourceInfoKHRBuilder<'a>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more