Struct kvm_sys::x86::bindings::kvm_translation
source · #[repr(C)]pub struct kvm_translation {
pub linear_address: u64,
pub physical_address: u64,
pub valid: u8,
pub writeable: u8,
pub usermode: u8,
pub pad: [u8; 5],
}
Fields§
§linear_address: u64
§physical_address: u64
§valid: u8
§writeable: u8
§usermode: u8
§pad: [u8; 5]
Trait Implementations§
source§impl Clone for kvm_translation
impl Clone for kvm_translation
source§fn clone(&self) -> kvm_translation
fn clone(&self) -> kvm_translation
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_translation
impl Debug for kvm_translation
source§impl Default for kvm_translation
impl Default for kvm_translation
source§fn default() -> kvm_translation
fn default() -> kvm_translation
Returns the “default value” for a type. Read more
impl Copy for kvm_translation
Auto Trait Implementations§
impl RefUnwindSafe for kvm_translation
impl Send for kvm_translation
impl Sync for kvm_translation
impl Unpin for kvm_translation
impl UnwindSafe for kvm_translation
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