#[repr(C)]pub struct AndroidHardwareBufferFormatPropertiesANDROID {
pub s_type: StructureType,
pub 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: StructureType
§next: *mut c_void
§format: Format
§external_format: u64
§format_features: FormatFeatureFlags
§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 Cast for AndroidHardwareBufferFormatPropertiesANDROID
impl Cast for AndroidHardwareBufferFormatPropertiesANDROID
§type Target = AndroidHardwareBufferFormatPropertiesANDROID
type Target = AndroidHardwareBufferFormatPropertiesANDROID
The other type this type can be used interchangeably with in FFI.
source§impl Clone for AndroidHardwareBufferFormatPropertiesANDROID
impl Clone for AndroidHardwareBufferFormatPropertiesANDROID
source§fn clone(&self) -> AndroidHardwareBufferFormatPropertiesANDROID
fn clone(&self) -> AndroidHardwareBufferFormatPropertiesANDROID
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 AndroidHardwareBufferFormatPropertiesANDROID
impl Default for AndroidHardwareBufferFormatPropertiesANDROID
source§fn default() -> AndroidHardwareBufferFormatPropertiesANDROID
fn default() -> AndroidHardwareBufferFormatPropertiesANDROID
Returns the “default value” for a type. Read more
source§impl HasBuilder<'static> for AndroidHardwareBufferFormatPropertiesANDROID
impl HasBuilder<'static> for AndroidHardwareBufferFormatPropertiesANDROID
source§impl InputChainStruct for AndroidHardwareBufferFormatPropertiesANDROID
impl InputChainStruct for AndroidHardwareBufferFormatPropertiesANDROID
source§const TYPE: StructureType = StructureType::ANDROID_HARDWARE_BUFFER_FORMAT_PROPERTIES_ANDROID
const TYPE: StructureType = StructureType::ANDROID_HARDWARE_BUFFER_FORMAT_PROPERTIES_ANDROID
The structure type for this struct type.
source§fn s_type(&self) -> StructureType
fn s_type(&self) -> StructureType
The structure type for this struct.
source§impl PartialEq for AndroidHardwareBufferFormatPropertiesANDROID
impl PartialEq for AndroidHardwareBufferFormatPropertiesANDROID
source§fn eq(&self, other: &AndroidHardwareBufferFormatPropertiesANDROID) -> bool
fn eq(&self, other: &AndroidHardwareBufferFormatPropertiesANDROID) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for AndroidHardwareBufferFormatPropertiesANDROID
impl Eq for AndroidHardwareBufferFormatPropertiesANDROID
impl ExtendsAndroidHardwareBufferPropertiesANDROID for AndroidHardwareBufferFormatPropertiesANDROID
impl StructuralPartialEq for AndroidHardwareBufferFormatPropertiesANDROID
Auto Trait Implementations§
impl Freeze for AndroidHardwareBufferFormatPropertiesANDROID
impl RefUnwindSafe for AndroidHardwareBufferFormatPropertiesANDROID
impl !Send for AndroidHardwareBufferFormatPropertiesANDROID
impl !Sync for AndroidHardwareBufferFormatPropertiesANDROID
impl Unpin for AndroidHardwareBufferFormatPropertiesANDROID
impl UnwindSafe for AndroidHardwareBufferFormatPropertiesANDROID
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