pub struct InterruptDescriptor { /* private fields */ }Implementations§
Source§impl InterruptDescriptor
impl InterruptDescriptor
pub fn of_u64(raw: u64) -> InterruptDescriptor
pub fn offset(&self) -> i32
pub fn selector(&self) -> u16
pub fn access_byte(&self) -> u8
pub fn dpl(&self) -> u8
pub fn gate_type(&self) -> u8
pub fn is_32(&self) -> bool
pub fn is_present(&self) -> bool
pub fn reserved_zeros_are_valid(&self) -> bool
Auto Trait Implementations§
impl Freeze for InterruptDescriptor
impl RefUnwindSafe for InterruptDescriptor
impl Send for InterruptDescriptor
impl Sync for InterruptDescriptor
impl Unpin for InterruptDescriptor
impl UnsafeUnpin for InterruptDescriptor
impl UnwindSafe for InterruptDescriptor
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