pub struct SegmentDescriptor {
pub raw: u64,
}Fields§
§raw: u64Implementations§
Source§impl SegmentDescriptor
impl SegmentDescriptor
pub fn of_u64(raw: u64) -> SegmentDescriptor
pub fn base(&self) -> i32
pub fn limit(&self) -> u32
pub fn access_byte(&self) -> u8
pub fn flags(&self) -> u8
pub fn is_system(&self) -> bool
pub fn system_type(&self) -> u8
pub fn accessed(&self) -> bool
pub fn is_rw(&self) -> bool
pub fn is_dc(&self) -> bool
pub fn is_executable(&self) -> bool
pub fn is_present(&self) -> bool
pub fn is_writable(&self) -> bool
pub fn is_readable(&self) -> bool
pub fn is_conforming_executable(&self) -> bool
pub fn dpl(&self) -> u8
pub fn is_32(&self) -> bool
pub fn effective_limit(&self) -> u32
pub fn set_busy(&self) -> SegmentDescriptor
pub fn clear_busy(&self) -> SegmentDescriptor
pub fn set_accessed(&self) -> SegmentDescriptor
Auto Trait Implementations§
impl Freeze for SegmentDescriptor
impl RefUnwindSafe for SegmentDescriptor
impl Send for SegmentDescriptor
impl Sync for SegmentDescriptor
impl Unpin for SegmentDescriptor
impl UnsafeUnpin for SegmentDescriptor
impl UnwindSafe for SegmentDescriptor
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