#[repr(C)]pub struct DescriptorTable {
pub base: u64,
pub limit: u16,
}Expand description
State of a global descriptor table or interrupt descriptor table.
Fields§
§base: u64§limit: u16Trait Implementations§
Source§impl Clone for DescriptorTable
impl Clone for DescriptorTable
Source§fn clone(&self) -> DescriptorTable
fn clone(&self) -> DescriptorTable
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 DescriptorTable
impl Debug for DescriptorTable
Source§impl Default for DescriptorTable
impl Default for DescriptorTable
Source§fn default() -> DescriptorTable
fn default() -> DescriptorTable
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DescriptorTable
impl<'de> Deserialize<'de> for DescriptorTable
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&DescriptorTable> for kvm_dtable
impl From<&DescriptorTable> for kvm_dtable
Source§fn from(dt: &DescriptorTable) -> Self
fn from(dt: &DescriptorTable) -> Self
Converts to this type from the input type.
Source§impl From<&kvm_dtable> for DescriptorTable
impl From<&kvm_dtable> for DescriptorTable
Source§fn from(dt: &kvm_dtable) -> Self
fn from(dt: &kvm_dtable) -> Self
Converts to this type from the input type.
Source§impl Serialize for DescriptorTable
impl Serialize for DescriptorTable
impl Copy for DescriptorTable
Auto Trait Implementations§
impl Freeze for DescriptorTable
impl RefUnwindSafe for DescriptorTable
impl Send for DescriptorTable
impl Sync for DescriptorTable
impl Unpin for DescriptorTable
impl UnwindSafe for DescriptorTable
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