Struct ohos_sys::native_window::BufferHandle
source · #[repr(C)]pub struct BufferHandle {}Fields§
§fd: i32< buffer fd, -1 if not supported
width: i32< the width of memory
stride: i32< the stride of memory
height: i32< the height of memory
size: i32§format: i32< the format of memory
usage: u64< the usage of memory
virAddr: *mut c_void< Virtual address of memory
key: i32< Shared memory key
phyAddr: u64< Physical address
reserveFds: u32< the number of reserved fd value
reserveInts: u32< the number of reserved integer value
reserve: __IncompleteArrayField<i32>< the data
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BufferHandle
impl RefUnwindSafe for BufferHandle
impl !Send for BufferHandle
impl !Sync for BufferHandle
impl Unpin for BufferHandle
impl UnwindSafe for BufferHandle
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