#[repr(C)]pub struct OH_NativeBuffer_Plane {
pub offset: u64,
pub rowStride: u32,
pub columnStride: u32,
}Available on crate feature
api-12 only.Expand description
Holds info for a single image plane.
Required System Capabilities: SystemCapability.Graphic.Graphic2D.NativeBuffer
Available since API-level: 12
Version: 1.0
Fields§
§offset: u64< Offset in bytes of plane.
rowStride: u32< Distance in bytes from the first value of one row of the image to the first value of the next row.
columnStride: u32< Distance in bytes from the first value of one column of the image to the first value of the next column.
Trait Implementations§
Source§impl Clone for OH_NativeBuffer_Plane
impl Clone for OH_NativeBuffer_Plane
Source§fn clone(&self) -> OH_NativeBuffer_Plane
fn clone(&self) -> OH_NativeBuffer_Plane
Returns a duplicate 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 Debug for OH_NativeBuffer_Plane
impl Debug for OH_NativeBuffer_Plane
impl Copy for OH_NativeBuffer_Plane
Auto Trait Implementations§
impl Freeze for OH_NativeBuffer_Plane
impl RefUnwindSafe for OH_NativeBuffer_Plane
impl Send for OH_NativeBuffer_Plane
impl Sync for OH_NativeBuffer_Plane
impl Unpin for OH_NativeBuffer_Plane
impl UnsafeUnpin for OH_NativeBuffer_Plane
impl UnwindSafe for OH_NativeBuffer_Plane
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