pub struct AndroidHardwareBufferFormatPropertiesANDROIDBuilder<'a> { /* private fields */ }Expand description
Builder for AndroidHardwareBufferFormatPropertiesANDROID with lifetime-tied pNext safety.
Implementations§
Source§impl<'a> AndroidHardwareBufferFormatPropertiesANDROIDBuilder<'a>
impl<'a> AndroidHardwareBufferFormatPropertiesANDROIDBuilder<'a>
pub fn format(self, value: Format) -> Self
pub fn external_format(self, value: u64) -> Self
pub fn format_features(self, value: FormatFeatureFlags) -> Self
pub fn sampler_ycbcr_conversion_components( self, value: ComponentMapping, ) -> Self
pub fn suggested_ycbcr_model(self, value: SamplerYcbcrModelConversion) -> Self
pub fn suggested_ycbcr_range(self, value: SamplerYcbcrRange) -> Self
pub fn suggested_x_chroma_offset(self, value: ChromaLocation) -> Self
pub fn suggested_y_chroma_offset(self, value: ChromaLocation) -> Self
Trait Implementations§
Source§impl<'a> Deref for AndroidHardwareBufferFormatPropertiesANDROIDBuilder<'a>
impl<'a> Deref for AndroidHardwareBufferFormatPropertiesANDROIDBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for AndroidHardwareBufferFormatPropertiesANDROIDBuilder<'a>
impl<'a> RefUnwindSafe for AndroidHardwareBufferFormatPropertiesANDROIDBuilder<'a>
impl<'a> !Send for AndroidHardwareBufferFormatPropertiesANDROIDBuilder<'a>
impl<'a> !Sync for AndroidHardwareBufferFormatPropertiesANDROIDBuilder<'a>
impl<'a> Unpin for AndroidHardwareBufferFormatPropertiesANDROIDBuilder<'a>
impl<'a> UnsafeUnpin for AndroidHardwareBufferFormatPropertiesANDROIDBuilder<'a>
impl<'a> UnwindSafe for AndroidHardwareBufferFormatPropertiesANDROIDBuilder<'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