pub struct Entry(/* private fields */);
Expand description
8-byte entry in a descriptor table.
A GlobalDescriptorTable
(or LDT) is an array of these entries, and
SegmentSelector
s index into this array. Each Descriptor
in the table
uses either 1 Entry (if it is a UserSegment
) or
2 Entries (if it is a SystemSegment
). This
type exists to give users access to the raw entry bits in a GDT.
Implementations§
Source§impl Entry
impl Entry
Sourcepub fn raw(&self) -> u64
pub fn raw(&self) -> u64
The raw bits for this entry. Depending on the Descriptor
type, these
bits may correspond to those in DescriptorFlags
.
Trait Implementations§
impl Eq for Entry
Auto Trait Implementations§
impl !Freeze for Entry
impl RefUnwindSafe for Entry
impl Send for Entry
impl Sync for Entry
impl Unpin for Entry
impl UnwindSafe for Entry
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