Struct ash::vk::VideoFormatPropertiesKHRBuilder
source · 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> 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