Struct tartan_arch::x86::protection::PrivilegedStack
source · #[repr(C)]pub struct PrivilegedStack {
pub pointer: u32,
pub segment: Selector,
}
Available on x86 only.
Expand description
Stack pointer and segment for a given privilege level
Fields§
§pointer: u32
Stack pointer (SP
) value for this privilege level.
segment: Selector
Stack segment (SS
) value for this privilege level.
Implementations§
Trait Implementations§
source§impl Clone for PrivilegedStack
impl Clone for PrivilegedStack
source§fn clone(&self) -> PrivilegedStack
fn clone(&self) -> PrivilegedStack
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 PrivilegedStack
impl Debug for PrivilegedStack
source§impl PartialEq for PrivilegedStack
impl PartialEq for PrivilegedStack
impl Copy for PrivilegedStack
impl Eq for PrivilegedStack
impl StructuralPartialEq for PrivilegedStack
Auto Trait Implementations§
impl Freeze for PrivilegedStack
impl RefUnwindSafe for PrivilegedStack
impl Send for PrivilegedStack
impl Sync for PrivilegedStack
impl Unpin for PrivilegedStack
impl UnwindSafe for PrivilegedStack
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
)