Struct kvm_sys::x86::bindings::kvm_userspace_memory_region2
source · #[repr(C)]pub struct kvm_userspace_memory_region2 {
pub slot: u32,
pub flags: u32,
pub guest_phys_addr: u64,
pub memory_size: u64,
pub userspace_addr: u64,
pub guest_memfd_offset: u64,
pub guest_memfd: u32,
pub pad1: u32,
pub pad2: [u64; 14],
}
Fields§
§slot: u32
§flags: u32
§guest_phys_addr: u64
§memory_size: u64
§userspace_addr: u64
§guest_memfd_offset: u64
§guest_memfd: u32
§pad1: u32
§pad2: [u64; 14]
Trait Implementations§
source§impl Clone for kvm_userspace_memory_region2
impl Clone for kvm_userspace_memory_region2
source§fn clone(&self) -> kvm_userspace_memory_region2
fn clone(&self) -> kvm_userspace_memory_region2
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 kvm_userspace_memory_region2
impl Debug for kvm_userspace_memory_region2
source§impl Default for kvm_userspace_memory_region2
impl Default for kvm_userspace_memory_region2
source§fn default() -> kvm_userspace_memory_region2
fn default() -> kvm_userspace_memory_region2
Returns the “default value” for a type. Read more
impl Copy for kvm_userspace_memory_region2
Auto Trait Implementations§
impl RefUnwindSafe for kvm_userspace_memory_region2
impl Send for kvm_userspace_memory_region2
impl Sync for kvm_userspace_memory_region2
impl Unpin for kvm_userspace_memory_region2
impl UnwindSafe for kvm_userspace_memory_region2
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