Struct tartan_arch::x86_common::protection::GenericDescriptor
source · #[repr(C)]pub struct GenericDescriptor {
pub flags: GenericDescriptorFlags,
/* private fields */
}
Available on x86 or x86-64 only.
Expand description
Generic entry in a global/local/interrupt descriptor table. Can be a
SegmentDescriptor
or GateDescriptor
, depending on the type flags.
Fields§
§flags: GenericDescriptorFlags
Common descriptor settings.
Trait Implementations§
source§impl Clone for GenericDescriptor
impl Clone for GenericDescriptor
source§fn clone(&self) -> GenericDescriptor
fn clone(&self) -> GenericDescriptor
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 Debug for GenericDescriptor
impl Debug for GenericDescriptor
source§impl PartialEq for GenericDescriptor
impl PartialEq for GenericDescriptor
source§fn eq(&self, other: &GenericDescriptor) -> bool
fn eq(&self, other: &GenericDescriptor) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for GenericDescriptor
impl Eq for GenericDescriptor
impl StructuralPartialEq for GenericDescriptor
Auto Trait Implementations§
impl RefUnwindSafe for GenericDescriptor
impl Send for GenericDescriptor
impl Sync for GenericDescriptor
impl Unpin for GenericDescriptor
impl UnwindSafe for GenericDescriptor
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