pub struct VideoFormatPropertiesKHRBuilder<'a> { /* private fields */ }
Implementations§
Source§impl<'a> VideoFormatPropertiesKHRBuilder<'a>
impl<'a> VideoFormatPropertiesKHRBuilder<'a>
pub fn format(self, format: Format) -> Self
pub fn component_mapping(self, component_mapping: ComponentMapping) -> Self
pub fn image_create_flags(self, image_create_flags: ImageCreateFlags) -> Self
pub fn image_type(self, image_type: ImageType) -> Self
pub fn image_tiling(self, image_tiling: ImageTiling) -> Self
pub fn image_usage_flags(self, image_usage_flags: ImageUsageFlags) -> 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