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
impl Copy for GenericDescriptor
impl Eq for GenericDescriptor
impl StructuralPartialEq for GenericDescriptor
Auto Trait Implementations§
impl Freeze for GenericDescriptor
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)