#[repr(C)]pub struct GuestMemoryRegion {
pub size: u64,
pub ptr: u64,
}
Expand description
A memory region in the guest address space
Fields§
§size: u64
The size of the memory region
ptr: u64
The address of the memory region
Trait Implementations§
Source§impl Clone for GuestMemoryRegion
impl Clone for GuestMemoryRegion
Source§fn clone(&self) -> GuestMemoryRegion
fn clone(&self) -> GuestMemoryRegion
Returns a duplicate 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 GuestMemoryRegion
impl Debug for GuestMemoryRegion
impl Copy for GuestMemoryRegion
Auto Trait Implementations§
impl Freeze for GuestMemoryRegion
impl RefUnwindSafe for GuestMemoryRegion
impl Send for GuestMemoryRegion
impl Sync for GuestMemoryRegion
impl Unpin for GuestMemoryRegion
impl UnwindSafe for GuestMemoryRegion
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