Struct guestmem::BitmapInfo
source · pub struct BitmapInfo {
pub read_bitmap: NonNull<u8>,
pub write_bitmap: NonNull<u8>,
pub execute_bitmap: NonNull<u8>,
pub bit_offset: u8,
}
Expand description
Returned by GuestMemoryAccess::access_bitmap
.
Fields§
§read_bitmap: NonNull<u8>
A pointer to the bitmap for read access.
write_bitmap: NonNull<u8>
A pointer to the bitmap for write access.
execute_bitmap: NonNull<u8>
A pointer to the bitmap for execute access.
bit_offset: u8
The bit offset of the beginning of the bitmap.
Typically this is zero, but it is needed to support subranges that are not 8-page multiples.
Auto Trait Implementations§
impl Freeze for BitmapInfo
impl RefUnwindSafe for BitmapInfo
impl !Send for BitmapInfo
impl !Sync for BitmapInfo
impl Unpin for BitmapInfo
impl UnwindSafe for BitmapInfo
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