#[repr(C)]pub struct OH_NativeBuffer_Planes {
pub planeCount: u32,
pub planes: [OH_NativeBuffer_Plane; 4],
}Available on crate features
native_buffer and api-12 only.Expand description
Holds all image planes.
Required System Capabilities: SystemCapability.Graphic.Graphic2D.NativeBuffer
Available since API-level: 12
Version: 1.0
Fields§
§planeCount: u32< Number of distinct planes.
planes: [OH_NativeBuffer_Plane; 4]< Array of image planes.
Trait Implementations§
Source§impl Clone for OH_NativeBuffer_Planes
impl Clone for OH_NativeBuffer_Planes
Source§fn clone(&self) -> OH_NativeBuffer_Planes
fn clone(&self) -> OH_NativeBuffer_Planes
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 moreSource§impl Debug for OH_NativeBuffer_Planes
impl Debug for OH_NativeBuffer_Planes
impl Copy for OH_NativeBuffer_Planes
Auto Trait Implementations§
impl Freeze for OH_NativeBuffer_Planes
impl RefUnwindSafe for OH_NativeBuffer_Planes
impl Send for OH_NativeBuffer_Planes
impl Sync for OH_NativeBuffer_Planes
impl Unpin for OH_NativeBuffer_Planes
impl UnsafeUnpin for OH_NativeBuffer_Planes
impl UnwindSafe for OH_NativeBuffer_Planes
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