Struct ndk::hardware_buffer::LockedPlaneInfo
source · pub struct LockedPlaneInfo {
pub virtual_address: *mut c_void,
pub bytes_per_pixel: u32,
pub bytes_per_stride: u32,
}
Available on crate feature
api-level-26
only.Expand description
A native AHardwareBuffer_Plane
Contains the same fields as ffi::AHardwareBuffer_Plane
.
Fields§
§virtual_address: *mut c_void
§bytes_per_pixel: u32
§bytes_per_stride: u32
Trait Implementations§
source§impl Clone for LockedPlaneInfo
impl Clone for LockedPlaneInfo
source§fn clone(&self) -> LockedPlaneInfo
fn clone(&self) -> LockedPlaneInfo
Returns a copy 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 LockedPlaneInfo
impl Debug for LockedPlaneInfo
source§impl PartialEq for LockedPlaneInfo
impl PartialEq for LockedPlaneInfo
source§fn eq(&self, other: &LockedPlaneInfo) -> bool
fn eq(&self, other: &LockedPlaneInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for LockedPlaneInfo
impl Eq for LockedPlaneInfo
impl StructuralPartialEq for LockedPlaneInfo
Auto Trait Implementations§
impl Freeze for LockedPlaneInfo
impl RefUnwindSafe for LockedPlaneInfo
impl !Send for LockedPlaneInfo
impl !Sync for LockedPlaneInfo
impl Unpin for LockedPlaneInfo
impl UnwindSafe for LockedPlaneInfo
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