Struct screen_13::prelude::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) -> VideoFormatPropertiesKHRBuilder<'a>
pub fn component_mapping( self, component_mapping: ComponentMapping ) -> VideoFormatPropertiesKHRBuilder<'a>
pub fn image_create_flags( self, image_create_flags: ImageCreateFlags ) -> VideoFormatPropertiesKHRBuilder<'a>
pub fn image_type( self, image_type: ImageType ) -> VideoFormatPropertiesKHRBuilder<'a>
pub fn image_tiling( self, image_tiling: ImageTiling ) -> VideoFormatPropertiesKHRBuilder<'a>
pub fn image_usage_flags( self, image_usage_flags: ImageUsageFlags ) -> VideoFormatPropertiesKHRBuilder<'a>
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>
§type Target = VideoFormatPropertiesKHR
type Target = VideoFormatPropertiesKHR
The resulting type after dereferencing.
source§impl<'a> DerefMut for VideoFormatPropertiesKHRBuilder<'a>
impl<'a> DerefMut 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