pub struct FS;
Expand description
FS Segment
Only base is used in 64-bit mode, see Segment64
. This is often used in
user-mode for Thread-Local Storage (TLS).
Trait Implementations§
Source§impl Segment for FS
impl Segment for FS
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 FS
impl RefUnwindSafe for FS
impl Send for FS
impl Sync for FS
impl Unpin for FS
impl UnwindSafe for FS
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