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