pub struct StackPointerRegister(/* private fields */);Implementations§
Source§impl StackPointerRegister
impl StackPointerRegister
Sourcepub const RSVD1_MASK: u64
pub const RSVD1_MASK: u64
Mask of all reserved-as-1 bits.
Sourcepub const RSVD0_MASK: u64
pub const RSVD0_MASK: u64
Mask of all reserved-as-0 bits.
Sourcepub const DEFAULT: u64
pub const DEFAULT: u64
The default value of the layout, combining all field defaults and reserved-as values.
Sourcepub const FIELDS: [FieldMetadata<u64>; 1]
pub const FIELDS: [FieldMetadata<u64>; 1]
Metadata of all named fields in the layout.
Sourcepub const fn new() -> Self
pub const fn new() -> Self
Creates a new instance with reserved-as-1 bits set and
all other bits zeroed (i.e., with a value of
Self::RSVD1_MASK).
pub const fn bits(self) -> u64
Trait Implementations§
Source§impl Binary for StackPointerRegister
impl Binary for StackPointerRegister
Source§impl Clone for StackPointerRegister
impl Clone for StackPointerRegister
Source§fn clone(&self) -> StackPointerRegister
fn clone(&self) -> StackPointerRegister
Returns a duplicate of the value. Read more
1.0.0 (const: unstable)§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for StackPointerRegister
Source§impl Debug for StackPointerRegister
impl Debug for StackPointerRegister
Source§impl Default for StackPointerRegister
impl Default for StackPointerRegister
Source§fn default() -> Self
fn default() -> Self
Returns an instance with the default bits set (i.e,. with a
value of Self::DEFAULT.
impl Eq for StackPointerRegister
Source§impl From<StackPointerRegister> for u64
impl From<StackPointerRegister> for u64
Source§fn from(value: StackPointerRegister) -> Self
fn from(value: StackPointerRegister) -> Self
Converts to this type from the input type.
Source§impl From<u64> for StackPointerRegister
impl From<u64> for StackPointerRegister
Source§impl IntoIterator for StackPointerRegister
impl IntoIterator for StackPointerRegister
Source§impl<'a> IntoIterator for &'a StackPointerRegister
impl<'a> IntoIterator for &'a StackPointerRegister
Source§impl LowerHex for StackPointerRegister
impl LowerHex for StackPointerRegister
Source§impl Octal for StackPointerRegister
impl Octal for StackPointerRegister
Source§impl PartialEq for StackPointerRegister
impl PartialEq for StackPointerRegister
impl StructuralPartialEq for StackPointerRegister
Auto Trait Implementations§
impl Freeze for StackPointerRegister
impl RefUnwindSafe for StackPointerRegister
impl Send for StackPointerRegister
impl Sync for StackPointerRegister
impl Unpin for StackPointerRegister
impl UnsafeUnpin for StackPointerRegister
impl UnwindSafe for StackPointerRegister
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,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)