Struct x86_64::structures::DescriptorTablePointer
source · [−]Expand description
A struct describing a pointer to a descriptor table (GDT / IDT). This is in a format suitable for giving to ‘lgdt’ or ‘lidt’.
Fields
limit: u16
Size of the DT.
base: VirtAddr
Pointer to the memory region containing the DT.
Trait Implementations
sourceimpl Clone for DescriptorTablePointer
impl Clone for DescriptorTablePointer
sourcefn clone(&self) -> DescriptorTablePointer
fn clone(&self) -> DescriptorTablePointer
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for DescriptorTablePointer
impl Debug for DescriptorTablePointer
impl Copy for DescriptorTablePointer
Auto Trait Implementations
impl RefUnwindSafe for DescriptorTablePointer
impl Send for DescriptorTablePointer
impl Sync for DescriptorTablePointer
impl Unpin for DescriptorTablePointer
impl UnwindSafe for DescriptorTablePointer
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more