pub struct KvmSegment {
pub base: u64,
pub limit: u32,
pub selector: u16,
pub type_attr: u8,
pub present: u8,
pub dpl: u8,
pub db: u8,
pub s: u8,
pub l: u8,
pub g: u8,
pub avl: u8,
}Expand description
x86 segment register descriptor
Fields§
§base: u64§limit: u32§selector: u16§type_attr: u8§present: u8§dpl: u8§db: u8§s: u8§l: u8§g: u8§avl: u8Trait Implementations§
Source§impl Clone for KvmSegment
impl Clone for KvmSegment
Source§fn clone(&self) -> KvmSegment
fn clone(&self) -> KvmSegment
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for KvmSegment
impl Debug for KvmSegment
Source§impl Default for KvmSegment
impl Default for KvmSegment
Source§fn default() -> KvmSegment
fn default() -> KvmSegment
Returns the “default value” for a type. Read more
impl Copy for KvmSegment
Auto Trait Implementations§
impl Freeze for KvmSegment
impl RefUnwindSafe for KvmSegment
impl Send for KvmSegment
impl Sync for KvmSegment
impl Unpin for KvmSegment
impl UnwindSafe for KvmSegment
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)