Struct ndk_sys::ANativeWindow_Buffer
source · #[repr(C)]pub struct ANativeWindow_Buffer {
pub width: i32,
pub height: i32,
pub stride: i32,
pub format: i32,
pub bits: *mut c_void,
pub reserved: [u32; 6],
}
Fields§
§width: i32
§height: i32
§stride: i32
§format: i32
§bits: *mut c_void
§reserved: [u32; 6]
Trait Implementations§
source§impl Clone for ANativeWindow_Buffer
impl Clone for ANativeWindow_Buffer
source§fn clone(&self) -> ANativeWindow_Buffer
fn clone(&self) -> ANativeWindow_Buffer
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 ANativeWindow_Buffer
impl Debug for ANativeWindow_Buffer
impl Copy for ANativeWindow_Buffer
Auto Trait Implementations§
impl Freeze for ANativeWindow_Buffer
impl RefUnwindSafe for ANativeWindow_Buffer
impl !Send for ANativeWindow_Buffer
impl !Sync for ANativeWindow_Buffer
impl Unpin for ANativeWindow_Buffer
impl UnwindSafe for ANativeWindow_Buffer
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