#[repr(C)]pub struct AHardwareBufferPlane {
pub data: *mut c_void,
pub pixelStride: u32,
pub rowStride: u32,
}Expand description
Holds data for a single image plane.
Fields§
§data: *mut c_void< Points to first byte in plane
pixelStride: u32< Distance in bytes from the color channel of one pixel to the next
rowStride: u32< Distance in bytes from the first value of one row of the image to
Trait Implementations§
Source§impl Clone for AHardwareBufferPlane
impl Clone for AHardwareBufferPlane
Source§fn clone(&self) -> AHardwareBufferPlane
fn clone(&self) -> AHardwareBufferPlane
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 AHardwareBufferPlane
Auto Trait Implementations§
impl !Send for AHardwareBufferPlane
impl !Sync for AHardwareBufferPlane
impl Freeze for AHardwareBufferPlane
impl RefUnwindSafe for AHardwareBufferPlane
impl Unpin for AHardwareBufferPlane
impl UnsafeUnpin for AHardwareBufferPlane
impl UnwindSafe for AHardwareBufferPlane
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