#[repr(u8)]pub enum StackPointer {
El0 = 0,
ElX = 1,
}Expand description
Values for SPSEL.
Variants§
Trait Implementations§
Source§impl Clone for StackPointer
impl Clone for StackPointer
Source§fn clone(&self) -> StackPointer
fn clone(&self) -> StackPointer
Returns a duplicate 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 StackPointer
impl Debug for StackPointer
Source§impl From<StackPointer> for u8
impl From<StackPointer> for u8
Source§fn from(enum_value: StackPointer) -> Self
fn from(enum_value: StackPointer) -> Self
Converts to this type from the input type.
Source§impl Ord for StackPointer
impl Ord for StackPointer
Source§fn cmp(&self, other: &StackPointer) -> Ordering
fn cmp(&self, other: &StackPointer) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for StackPointer
impl PartialEq for StackPointer
Source§impl PartialOrd for StackPointer
impl PartialOrd for StackPointer
Source§impl TryFrom<u8> for StackPointer
impl TryFrom<u8> for StackPointer
Source§type Error = TryFromPrimitiveError<StackPointer>
type Error = TryFromPrimitiveError<StackPointer>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for StackPointer
impl TryFromPrimitive for StackPointer
const NAME: &'static str = "StackPointer"
type Primitive = u8
type Error = TryFromPrimitiveError<StackPointer>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
impl Copy for StackPointer
impl Eq for StackPointer
impl StructuralPartialEq for StackPointer
Auto Trait Implementations§
impl Freeze for StackPointer
impl RefUnwindSafe for StackPointer
impl Send for StackPointer
impl Sync for StackPointer
impl Unpin for StackPointer
impl UnwindSafe for StackPointer
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