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§
source§impl Clone for AHardwareBuffer_Desc
impl Clone for AHardwareBuffer_Desc
source§fn clone(&self) -> AHardwareBuffer_Desc
fn clone(&self) -> AHardwareBuffer_Desc
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 AHardwareBuffer_Desc
impl Debug for AHardwareBuffer_Desc
impl Copy for AHardwareBuffer_Desc
Auto Trait Implementations§
impl Freeze for AHardwareBuffer_Desc
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§
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