Struct x86_64::registers::segmentation::ES
source · pub struct ES;
Expand description
ES Segment
Entirely unused in 64-bit mode; setting the segment register does nothing.
Trait Implementations§
source§impl Segment for ES
Available on crate feature instructions
only.
impl Segment for ES
Available on crate feature
instructions
only.source§fn get_reg() -> SegmentSelector
fn get_reg() -> SegmentSelector
Returns the current value of the segment register.
source§unsafe fn set_reg(sel: SegmentSelector)
unsafe fn set_reg(sel: SegmentSelector)
Reload the segment register. Depending on the segment, this may also
reconfigure the corresponding segment. Read more
Auto Trait Implementations§
impl Freeze for ES
impl RefUnwindSafe for ES
impl Send for ES
impl Sync for ES
impl Unpin for ES
impl UnwindSafe for ES
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