pub struct AndroidHardwareBufferFormatProperties2ANDROIDBuilder<'a> { /* private fields */ }Expand description
Builder for AndroidHardwareBufferFormatProperties2ANDROID with lifetime-tied pNext safety.
Implementations§
Source§impl<'a> AndroidHardwareBufferFormatProperties2ANDROIDBuilder<'a>
impl<'a> AndroidHardwareBufferFormatProperties2ANDROIDBuilder<'a>
pub fn format(self, value: Format) -> Self
pub fn external_format(self, value: u64) -> Self
pub fn format_features(self, value: FormatFeatureFlags2) -> 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 AndroidHardwareBufferFormatProperties2ANDROIDBuilder<'a>
impl<'a> Deref for AndroidHardwareBufferFormatProperties2ANDROIDBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for AndroidHardwareBufferFormatProperties2ANDROIDBuilder<'a>
impl<'a> RefUnwindSafe for AndroidHardwareBufferFormatProperties2ANDROIDBuilder<'a>
impl<'a> !Send for AndroidHardwareBufferFormatProperties2ANDROIDBuilder<'a>
impl<'a> !Sync for AndroidHardwareBufferFormatProperties2ANDROIDBuilder<'a>
impl<'a> Unpin for AndroidHardwareBufferFormatProperties2ANDROIDBuilder<'a>
impl<'a> UnsafeUnpin for AndroidHardwareBufferFormatProperties2ANDROIDBuilder<'a>
impl<'a> UnwindSafe for AndroidHardwareBufferFormatProperties2ANDROIDBuilder<'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