#[repr(C)]pub struct AndroidHardwareBufferFormatProperties2ANDROID {
pub s_type: StructureType,
pub 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: StructureType
§next: *mut c_void
§format: Format
§external_format: u64
§format_features: FormatFeatureFlags2
§sampler_ycbcr_conversion_components: ComponentMapping
§suggested_ycbcr_model: SamplerYcbcrModelConversion
§suggested_ycbcr_range: SamplerYcbcrRange
§suggested_x_chroma_offset: ChromaLocation
§suggested_y_chroma_offset: ChromaLocation
Trait Implementations§
source§impl Clone for AndroidHardwareBufferFormatProperties2ANDROID
impl Clone for AndroidHardwareBufferFormatProperties2ANDROID
source§fn clone(&self) -> AndroidHardwareBufferFormatProperties2ANDROID
fn clone(&self) -> AndroidHardwareBufferFormatProperties2ANDROID
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 PartialEq for AndroidHardwareBufferFormatProperties2ANDROID
impl PartialEq for AndroidHardwareBufferFormatProperties2ANDROID
source§fn eq(&self, other: &AndroidHardwareBufferFormatProperties2ANDROID) -> bool
fn eq(&self, other: &AndroidHardwareBufferFormatProperties2ANDROID) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for AndroidHardwareBufferFormatProperties2ANDROID
impl Eq for AndroidHardwareBufferFormatProperties2ANDROID
impl StructuralPartialEq for AndroidHardwareBufferFormatProperties2ANDROID
Auto Trait Implementations§
impl Freeze for AndroidHardwareBufferFormatProperties2ANDROID
impl RefUnwindSafe for AndroidHardwareBufferFormatProperties2ANDROID
impl !Send for AndroidHardwareBufferFormatProperties2ANDROID
impl !Sync for AndroidHardwareBufferFormatProperties2ANDROID
impl Unpin for AndroidHardwareBufferFormatProperties2ANDROID
impl UnwindSafe for AndroidHardwareBufferFormatProperties2ANDROID
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