pub struct VideoPictureResourceKHRBuilder<'a> { /* private fields */ }
Implementations§
Source§impl<'a> VideoPictureResourceKHRBuilder<'a>
impl<'a> VideoPictureResourceKHRBuilder<'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) -> VideoPictureResourceKHR
pub fn build(self) -> VideoPictureResourceKHR
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 VideoPictureResourceKHRBuilder<'a>
impl<'a> Deref for VideoPictureResourceKHRBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for VideoPictureResourceKHRBuilder<'a>
impl<'a> RefUnwindSafe for VideoPictureResourceKHRBuilder<'a>
impl<'a> !Send for VideoPictureResourceKHRBuilder<'a>
impl<'a> !Sync for VideoPictureResourceKHRBuilder<'a>
impl<'a> Unpin for VideoPictureResourceKHRBuilder<'a>
impl<'a> UnwindSafe for VideoPictureResourceKHRBuilder<'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