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 more