#[repr(C)]pub struct OH_NativeBuffer_Cta861 {
pub maxContentLightLevel: f32,
pub maxFrameAverageLightLevel: f32,
}Available on crate features
native_buffer and api-12 only.Expand description
Indicates the cta861.3 metadata.
Required System Capabilities: SystemCapability.Graphic.Graphic2D.NativeBuffer
Available since API-level: 12
Version: 1.0
Fields§
§maxContentLightLevel: f32max content lightLevel
maxFrameAverageLightLevel: f32max frame average light level
Trait Implementations§
Source§impl Clone for OH_NativeBuffer_Cta861
impl Clone for OH_NativeBuffer_Cta861
Source§fn clone(&self) -> OH_NativeBuffer_Cta861
fn clone(&self) -> OH_NativeBuffer_Cta861
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_Cta861
impl Debug for OH_NativeBuffer_Cta861
impl Copy for OH_NativeBuffer_Cta861
Auto Trait Implementations§
impl Freeze for OH_NativeBuffer_Cta861
impl RefUnwindSafe for OH_NativeBuffer_Cta861
impl Send for OH_NativeBuffer_Cta861
impl Sync for OH_NativeBuffer_Cta861
impl Unpin for OH_NativeBuffer_Cta861
impl UnwindSafe for OH_NativeBuffer_Cta861
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)