#[repr(C)]pub struct NativeBufferFormatPropertiesOHOS {
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: ChromaLocationTrait Implementations§
Source§impl Cast for NativeBufferFormatPropertiesOHOS
impl Cast for NativeBufferFormatPropertiesOHOS
Source§type Target = NativeBufferFormatPropertiesOHOS
type Target = NativeBufferFormatPropertiesOHOS
The other type this type can be used interchangeably with in FFI.
Source§impl Clone for NativeBufferFormatPropertiesOHOS
impl Clone for NativeBufferFormatPropertiesOHOS
Source§fn clone(&self) -> NativeBufferFormatPropertiesOHOS
fn clone(&self) -> NativeBufferFormatPropertiesOHOS
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for NativeBufferFormatPropertiesOHOS
Source§impl Default for NativeBufferFormatPropertiesOHOS
impl Default for NativeBufferFormatPropertiesOHOS
Source§fn default() -> NativeBufferFormatPropertiesOHOS
fn default() -> NativeBufferFormatPropertiesOHOS
Returns the “default value” for a type. Read more
impl Eq for NativeBufferFormatPropertiesOHOS
impl ExtendsNativeBufferPropertiesOHOS for NativeBufferFormatPropertiesOHOS
Source§impl HasBuilder<'static> for NativeBufferFormatPropertiesOHOS
impl HasBuilder<'static> for NativeBufferFormatPropertiesOHOS
impl Send for NativeBufferFormatPropertiesOHOS
impl StructuralPartialEq for NativeBufferFormatPropertiesOHOS
impl Sync for NativeBufferFormatPropertiesOHOS
Auto Trait Implementations§
impl Forget for NativeBufferFormatPropertiesOHOS
impl Freeze for NativeBufferFormatPropertiesOHOS
impl RefUnwindSafe for NativeBufferFormatPropertiesOHOS
impl Unpin for NativeBufferFormatPropertiesOHOS
impl UnsafeUnpin for NativeBufferFormatPropertiesOHOS
impl UnwindSafe for NativeBufferFormatPropertiesOHOS
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