#[repr(C)]pub struct AndroidHardwareBufferFormatProperties2ANDROID {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub format: Format,
pub external_format: u64,
pub format_features: FormatFeatureFlags2,
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: FormatFeatureFlags2sampler_ycbcr_conversion_components: ComponentMappingsuggested_ycbcr_model: SamplerYcbcrModelConversionsuggested_ycbcr_range: SamplerYcbcrRangesuggested_x_chroma_offset: ChromaLocationsuggested_y_chroma_offset: ChromaLocationImplementations
Trait Implementations
sourceimpl Clone for AndroidHardwareBufferFormatProperties2ANDROID
impl Clone for AndroidHardwareBufferFormatProperties2ANDROID
sourcefn clone(&self) -> AndroidHardwareBufferFormatProperties2ANDROID
fn clone(&self) -> AndroidHardwareBufferFormatProperties2ANDROID
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 AndroidHardwareBufferFormatProperties2ANDROID
impl Default for AndroidHardwareBufferFormatProperties2ANDROID
sourcefn default() -> AndroidHardwareBufferFormatProperties2ANDROID
fn default() -> AndroidHardwareBufferFormatProperties2ANDROID
Returns the “default value” for a type. Read more
impl Copy for AndroidHardwareBufferFormatProperties2ANDROID
impl ExtendsAndroidHardwareBufferPropertiesANDROID for AndroidHardwareBufferFormatProperties2ANDROID
Auto Trait Implementations
impl RefUnwindSafe for AndroidHardwareBufferFormatProperties2ANDROID
impl !Send for AndroidHardwareBufferFormatProperties2ANDROID
impl !Sync for AndroidHardwareBufferFormatProperties2ANDROID
impl Unpin for AndroidHardwareBufferFormatProperties2ANDROID
impl UnwindSafe for AndroidHardwareBufferFormatProperties2ANDROID
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