pub struct ImageFormatConstraintsInfoFUCHSIABuilder<'a> { /* private fields */ }Expand description
Builder for ImageFormatConstraintsInfoFUCHSIA with lifetime-tied pNext safety.
Implementations§
Source§impl<'a> ImageFormatConstraintsInfoFUCHSIABuilder<'a>
impl<'a> ImageFormatConstraintsInfoFUCHSIABuilder<'a>
pub fn image_create_info(self, value: ImageCreateInfo) -> Self
pub fn required_format_features(self, value: FormatFeatureFlags) -> Self
pub fn flags(self, value: ImageFormatConstraintsFlagsFUCHSIA) -> Self
pub fn sysmem_pixel_format(self, value: u64) -> Self
pub fn color_spaces(self, slice: &'a [SysmemColorSpaceFUCHSIA]) -> Self
Sourcepub fn push_next<T: ExtendsImageFormatConstraintsInfoFUCHSIA>(
self,
next: &'a mut T,
) -> Self
pub fn push_next<T: ExtendsImageFormatConstraintsInfoFUCHSIA>( self, next: &'a mut T, ) -> Self
Prepend a struct to the pNext chain. See ImageFormatConstraintsInfoFUCHSIA’s Extended By section for valid types.
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> UnsafeUnpin 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