pub struct VideoFormatPropertiesKHRBuilder<'a> { /* private fields */ }
Implementations§
Source§impl<'a> VideoFormatPropertiesKHRBuilder<'a>
impl<'a> VideoFormatPropertiesKHRBuilder<'a>
pub fn format(self, format: Format) -> Self
Sourcepub fn build(self) -> VideoFormatPropertiesKHR
pub fn build(self) -> VideoFormatPropertiesKHR
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 VideoFormatPropertiesKHRBuilder<'a>
impl<'a> Deref for VideoFormatPropertiesKHRBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for VideoFormatPropertiesKHRBuilder<'a>
impl<'a> RefUnwindSafe for VideoFormatPropertiesKHRBuilder<'a>
impl<'a> !Send for VideoFormatPropertiesKHRBuilder<'a>
impl<'a> !Sync for VideoFormatPropertiesKHRBuilder<'a>
impl<'a> Unpin for VideoFormatPropertiesKHRBuilder<'a>
impl<'a> UnwindSafe for VideoFormatPropertiesKHRBuilder<'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