Struct virtio_sys::vhost::vhost_memory_region
source · #[repr(C)]pub struct vhost_memory_region {
pub guest_phys_addr: u64,
pub memory_size: u64,
pub userspace_addr: u64,
pub flags_padding: u64,
}
Fields§
§guest_phys_addr: u64
§memory_size: u64
§userspace_addr: u64
§flags_padding: u64
Trait Implementations§
source§impl Clone for vhost_memory_region
impl Clone for vhost_memory_region
source§fn clone(&self) -> vhost_memory_region
fn clone(&self) -> vhost_memory_region
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 vhost_memory_region
impl Debug for vhost_memory_region
source§impl Default for vhost_memory_region
impl Default for vhost_memory_region
source§fn default() -> vhost_memory_region
fn default() -> vhost_memory_region
Returns the “default value” for a type. Read more
impl Copy for vhost_memory_region
Auto Trait Implementations§
impl RefUnwindSafe for vhost_memory_region
impl Send for vhost_memory_region
impl Sync for vhost_memory_region
impl Unpin for vhost_memory_region
impl UnwindSafe for vhost_memory_region
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