Struct kvm_rs::kvm_sys::kvm_segment
source · [−]#[repr(C)]pub struct kvm_segment {
pub base: u64,
pub limit: u32,
pub selector: u16,
pub type_: u8,
pub present: u8,
pub dpl: u8,
pub db: u8,
pub s: u8,
pub l: u8,
pub g: u8,
pub avl: u8,
/* private fields */
}
Fields
base: u64
limit: u32
selector: u16
type_: u8
present: u8
dpl: u8
db: u8
s: u8
l: u8
g: u8
avl: u8
Trait Implementations
sourceimpl Debug for kvm_segment
impl Debug for kvm_segment
sourceimpl Default for kvm_segment
impl Default for kvm_segment
sourcefn default() -> kvm_segment
fn default() -> kvm_segment
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for kvm_segment
impl Send for kvm_segment
impl Sync for kvm_segment
impl Unpin for kvm_segment
impl UnwindSafe for kvm_segment
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more