Enum ConstA
#[repr(u8)]pub enum ConstA {
Register = 0,
Constant = 1,
}Variants§
Register = 0
REG_A is intepreted as a register index.
Constant = 1
REG_A is intepreted as a constant.
Implementations§
Trait Implementations§
impl Copy for ConstA
impl Eq for ConstA
§impl Ord for ConstA
impl Ord for ConstA
1.21.0 (const: unstable) · 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
§impl PartialOrd for ConstA
impl PartialOrd for ConstA
impl StructuralPartialEq for ConstA
Auto Trait Implementations§
impl Freeze for ConstA
impl RefUnwindSafe for ConstA
impl Send for ConstA
impl Sync for ConstA
impl Unpin for ConstA
impl UnsafeUnpin for ConstA
impl UnwindSafe for ConstA
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