pub struct AndroidHardwareBufferFormatPropertiesANDROIDBuilder { /* private fields */ }
Expand description
A builder for a AndroidHardwareBufferFormatPropertiesANDROID
.
Implementations§
source§impl AndroidHardwareBufferFormatPropertiesANDROIDBuilder
impl AndroidHardwareBufferFormatPropertiesANDROIDBuilder
pub fn format(self, format: Format) -> Self
pub fn external_format(self, external_format: u64) -> Self
pub fn format_features(self, format_features: FormatFeatureFlags) -> Self
pub fn sampler_ycbcr_conversion_components( self, sampler_ycbcr_conversion_components: impl Cast<Target = ComponentMapping> ) -> Self
pub fn suggested_ycbcr_model( self, suggested_ycbcr_model: SamplerYcbcrModelConversion ) -> Self
pub fn suggested_ycbcr_range( self, suggested_ycbcr_range: SamplerYcbcrRange ) -> Self
pub fn suggested_x_chroma_offset( self, suggested_x_chroma_offset: ChromaLocation ) -> Self
pub fn suggested_y_chroma_offset( self, suggested_y_chroma_offset: ChromaLocation ) -> Self
pub fn build(self) -> AndroidHardwareBufferFormatPropertiesANDROID
Trait Implementations§
source§impl Cast for AndroidHardwareBufferFormatPropertiesANDROIDBuilder
impl Cast for AndroidHardwareBufferFormatPropertiesANDROIDBuilder
§type Target = AndroidHardwareBufferFormatPropertiesANDROID
type Target = AndroidHardwareBufferFormatPropertiesANDROID
The other type this type can be used interchangeably with in FFI.
source§impl Clone for AndroidHardwareBufferFormatPropertiesANDROIDBuilder
impl Clone for AndroidHardwareBufferFormatPropertiesANDROIDBuilder
source§fn clone(&self) -> AndroidHardwareBufferFormatPropertiesANDROIDBuilder
fn clone(&self) -> AndroidHardwareBufferFormatPropertiesANDROIDBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for AndroidHardwareBufferFormatPropertiesANDROIDBuilder
impl Default for AndroidHardwareBufferFormatPropertiesANDROIDBuilder
source§fn default() -> AndroidHardwareBufferFormatPropertiesANDROIDBuilder
fn default() -> AndroidHardwareBufferFormatPropertiesANDROIDBuilder
Returns the “default value” for a type. Read more
impl Copy for AndroidHardwareBufferFormatPropertiesANDROIDBuilder
Auto Trait Implementations§
impl Freeze for AndroidHardwareBufferFormatPropertiesANDROIDBuilder
impl RefUnwindSafe for AndroidHardwareBufferFormatPropertiesANDROIDBuilder
impl !Send for AndroidHardwareBufferFormatPropertiesANDROIDBuilder
impl !Sync for AndroidHardwareBufferFormatPropertiesANDROIDBuilder
impl Unpin for AndroidHardwareBufferFormatPropertiesANDROIDBuilder
impl UnwindSafe for AndroidHardwareBufferFormatPropertiesANDROIDBuilder
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