Struct abyss::x86_64::segmentation::SegmentDescriptor
source · #[repr(transparent)]pub struct SegmentDescriptor(_);
Expand description
X86_64’s Segment Descriptor.
Implementations§
source§impl SegmentDescriptor
impl SegmentDescriptor
sourcepub const fn new(
base: u64,
limit: u64,
access: SegmentAccess,
dpl: PrivilegeLevel
) -> Self
pub const fn new( base: u64, limit: u64, access: SegmentAccess, dpl: PrivilegeLevel ) -> Self
Create a new segment.
Trait Implementations§
source§impl Clone for SegmentDescriptor
impl Clone for SegmentDescriptor
source§fn clone(&self) -> SegmentDescriptor
fn clone(&self) -> SegmentDescriptor
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for SegmentDescriptor
Auto Trait Implementations§
impl RefUnwindSafe for SegmentDescriptor
impl Send for SegmentDescriptor
impl Sync for SegmentDescriptor
impl Unpin for SegmentDescriptor
impl UnwindSafe for SegmentDescriptor
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
const: unstable§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more