#[repr(C, packed(1))]pub struct InterruptDescriptorTableRegister {
pub limit: u16,
pub address: usize,
}
Available on x86 or x86-64 only.
Expand description
IDTR
: Contains the memory range of the interrupt descriptor table.
Fields§
§limit: u16
The inclusive maximum address offset (i.e., size - 1) of the descriptor table.
address: usize
Base address of the descriptor table.
Implementations§
Trait Implementations§
Source§impl Clone for InterruptDescriptorTableRegister
impl Clone for InterruptDescriptorTableRegister
Source§fn clone(&self) -> InterruptDescriptorTableRegister
fn clone(&self) -> InterruptDescriptorTableRegister
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 Default for InterruptDescriptorTableRegister
impl Default for InterruptDescriptorTableRegister
Source§fn default() -> InterruptDescriptorTableRegister
fn default() -> InterruptDescriptorTableRegister
Returns the “default value” for a type. Read more
Source§impl PartialEq for InterruptDescriptorTableRegister
impl PartialEq for InterruptDescriptorTableRegister
Source§fn eq(&self, other: &InterruptDescriptorTableRegister) -> bool
fn eq(&self, other: &InterruptDescriptorTableRegister) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Copy for InterruptDescriptorTableRegister
impl Eq for InterruptDescriptorTableRegister
impl StructuralPartialEq for InterruptDescriptorTableRegister
Auto Trait Implementations§
impl Freeze for InterruptDescriptorTableRegister
impl RefUnwindSafe for InterruptDescriptorTableRegister
impl Send for InterruptDescriptorTableRegister
impl Sync for InterruptDescriptorTableRegister
impl Unpin for InterruptDescriptorTableRegister
impl UnwindSafe for InterruptDescriptorTableRegister
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