pub struct LockInfo {
pub address: *mut c_void,
pub bytes_per_pixel: i32,
pub bytes_per_stride: i32,
}
Expand description
Container for a mapped AHardwareBuffer and additional information.
Fields§
§address: *mut c_void
The address of the mapped buffer.
bytes_per_pixel: i32
The bytes per pixel.
bytes_per_stride: i32
The bytes per stride.
Auto Trait Implementations§
impl Freeze for LockInfo
impl RefUnwindSafe for LockInfo
impl !Send for LockInfo
impl !Sync for LockInfo
impl Unpin for LockInfo
impl UnwindSafe for LockInfo
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