[][src]Struct sunrise_kernel::i386::instructions::tables::DescriptorTablePointer

#[repr(C, packed)]pub struct DescriptorTablePointer {
    pub limit: u16,
    pub base: u32,
}

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: u32

Physical address of the memory region containing the DT.

Trait Implementations

impl Clone for DescriptorTablePointer[src]

impl Copy for DescriptorTablePointer[src]

impl Debug for DescriptorTablePointer[src]

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.