#[repr(C)]pub struct AndroidHardwareBufferFormatPropertiesANDROID {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub format: Format,
pub external_format: u64,
pub format_features: FormatFeatureFlags,
pub sampler_ycbcr_conversion_components: ComponentMapping,
pub suggested_ycbcr_model: SamplerYcbcrModelConversion,
pub suggested_ycbcr_range: SamplerYcbcrRange,
pub suggested_x_chroma_offset: ChromaLocation,
pub suggested_y_chroma_offset: ChromaLocation,
}Expand description
Fields
s_type: StructureTypep_next: *mut c_voidformat: Formatexternal_format: u64format_features: FormatFeatureFlagssampler_ycbcr_conversion_components: ComponentMappingsuggested_ycbcr_model: SamplerYcbcrModelConversionsuggested_ycbcr_range: SamplerYcbcrRangesuggested_x_chroma_offset: ChromaLocationsuggested_y_chroma_offset: ChromaLocationImplementations
Trait Implementations
sourceimpl Clone for AndroidHardwareBufferFormatPropertiesANDROID
impl Clone for AndroidHardwareBufferFormatPropertiesANDROID
sourcefn clone(&self) -> AndroidHardwareBufferFormatPropertiesANDROID
fn clone(&self) -> AndroidHardwareBufferFormatPropertiesANDROID
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Default for AndroidHardwareBufferFormatPropertiesANDROID
impl Default for AndroidHardwareBufferFormatPropertiesANDROID
sourcefn default() -> AndroidHardwareBufferFormatPropertiesANDROID
fn default() -> AndroidHardwareBufferFormatPropertiesANDROID
Returns the “default value” for a type. Read more
impl Copy for AndroidHardwareBufferFormatPropertiesANDROID
impl ExtendsAndroidHardwareBufferPropertiesANDROID for AndroidHardwareBufferFormatPropertiesANDROID
Auto Trait Implementations
impl RefUnwindSafe for AndroidHardwareBufferFormatPropertiesANDROID
impl !Send for AndroidHardwareBufferFormatPropertiesANDROID
impl !Sync for AndroidHardwareBufferFormatPropertiesANDROID
impl Unpin for AndroidHardwareBufferFormatPropertiesANDROID
impl UnwindSafe for AndroidHardwareBufferFormatPropertiesANDROID
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more