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
sourceimpl Clone for LockedPlaneInfo
impl Clone for LockedPlaneInfo
sourcefn clone(&self) -> LockedPlaneInfo
fn clone(&self) -> LockedPlaneInfo
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for LockedPlaneInfo
impl Debug for LockedPlaneInfo
sourceimpl PartialEq<LockedPlaneInfo> for LockedPlaneInfo
impl PartialEq<LockedPlaneInfo> for LockedPlaneInfo
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &LockedPlaneInfo) -> bool
fn ne(&self, other: &LockedPlaneInfo) -> bool
This method tests for !=
.
impl Copy for LockedPlaneInfo
impl Eq for LockedPlaneInfo
impl StructuralEq for LockedPlaneInfo
impl StructuralPartialEq for LockedPlaneInfo
Auto Trait Implementations
impl RefUnwindSafe for LockedPlaneInfo
impl !Send for LockedPlaneInfo
impl !Sync for LockedPlaneInfo
impl Unpin for LockedPlaneInfo
impl UnwindSafe for LockedPlaneInfo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more