pub struct ImageFormatConstraintsInfoFUCHSIABuilder<'a> { /* private fields */ }
Implementations§
Source§impl<'a> ImageFormatConstraintsInfoFUCHSIABuilder<'a>
impl<'a> ImageFormatConstraintsInfoFUCHSIABuilder<'a>
pub fn image_create_info(self, image_create_info: ImageCreateInfo) -> Self
pub fn required_format_features( self, required_format_features: FormatFeatureFlags, ) -> Self
pub fn flags(self, flags: ImageFormatConstraintsFlagsFUCHSIA) -> Self
pub fn sysmem_pixel_format(self, sysmem_pixel_format: u64) -> Self
pub fn color_spaces(self, color_spaces: &'a [SysmemColorSpaceFUCHSIA]) -> Self
Sourcepub fn build(self) -> ImageFormatConstraintsInfoFUCHSIA
pub fn build(self) -> ImageFormatConstraintsInfoFUCHSIA
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 ImageFormatConstraintsInfoFUCHSIABuilder<'a>
impl<'a> Deref for ImageFormatConstraintsInfoFUCHSIABuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for ImageFormatConstraintsInfoFUCHSIABuilder<'a>
impl<'a> RefUnwindSafe for ImageFormatConstraintsInfoFUCHSIABuilder<'a>
impl<'a> !Send for ImageFormatConstraintsInfoFUCHSIABuilder<'a>
impl<'a> !Sync for ImageFormatConstraintsInfoFUCHSIABuilder<'a>
impl<'a> Unpin for ImageFormatConstraintsInfoFUCHSIABuilder<'a>
impl<'a> UnwindSafe for ImageFormatConstraintsInfoFUCHSIABuilder<'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