Struct ndk_sys::AHardwareBuffer_Desc
source · #[repr(C)]pub struct AHardwareBuffer_Desc {
pub width: u32,
pub height: u32,
pub layers: u32,
pub format: u32,
pub usage: u64,
pub stride: u32,
pub rfu0: u32,
pub rfu1: u64,
}
Fields
width: u32
height: u32
layers: u32
format: u32
usage: u64
stride: u32
rfu0: u32
rfu1: u64
Trait Implementations
sourceimpl Clone for AHardwareBuffer_Desc
impl Clone for AHardwareBuffer_Desc
sourcefn clone(&self) -> AHardwareBuffer_Desc
fn clone(&self) -> AHardwareBuffer_Desc
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 moresourceimpl Debug for AHardwareBuffer_Desc
impl Debug for AHardwareBuffer_Desc
impl Copy for AHardwareBuffer_Desc
Auto Trait Implementations
impl RefUnwindSafe for AHardwareBuffer_Desc
impl Send for AHardwareBuffer_Desc
impl Sync for AHardwareBuffer_Desc
impl Unpin for AHardwareBuffer_Desc
impl UnwindSafe for AHardwareBuffer_Desc
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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