#[repr(C)]pub struct OH_NativeBuffer_Smpte2086 {
pub displayPrimaryRed: OH_NativeBuffer_ColorXY,
pub displayPrimaryGreen: OH_NativeBuffer_ColorXY,
pub displayPrimaryBlue: OH_NativeBuffer_ColorXY,
pub whitePoint: OH_NativeBuffer_ColorXY,
pub maxLuminance: f32,
pub minLuminance: f32,
}Available on crate features
native_buffer and api-12 only.Expand description
Indicates the smpte2086 metadata.
Required System Capabilities: SystemCapability.Graphic.Graphic2D.NativeBuffer
Available since API-level: 12
Version: 1.0
Fields§
§displayPrimaryRed: OH_NativeBuffer_ColorXYprimary red
displayPrimaryGreen: OH_NativeBuffer_ColorXYprimary green
displayPrimaryBlue: OH_NativeBuffer_ColorXYprimary blue
whitePoint: OH_NativeBuffer_ColorXYwhite point
maxLuminance: f32max luminance
minLuminance: f32min luminance
Trait Implementations§
Source§impl Clone for OH_NativeBuffer_Smpte2086
impl Clone for OH_NativeBuffer_Smpte2086
Source§fn clone(&self) -> OH_NativeBuffer_Smpte2086
fn clone(&self) -> OH_NativeBuffer_Smpte2086
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OH_NativeBuffer_Smpte2086
impl Debug for OH_NativeBuffer_Smpte2086
impl Copy for OH_NativeBuffer_Smpte2086
Auto Trait Implementations§
impl Freeze for OH_NativeBuffer_Smpte2086
impl RefUnwindSafe for OH_NativeBuffer_Smpte2086
impl Send for OH_NativeBuffer_Smpte2086
impl Sync for OH_NativeBuffer_Smpte2086
impl Unpin for OH_NativeBuffer_Smpte2086
impl UnwindSafe for OH_NativeBuffer_Smpte2086
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)