#[repr(u16)]
pub enum Comp {
Show 28 variants
Zero,
One,
MinusOne,
D,
A,
M,
NotD,
NotA,
NotM,
MinusD,
MinusA,
MinusM,
DPlusOne,
APlusOne,
MPlusOne,
DMinusOne,
AMinusOne,
MMinusOne,
DPlusA,
DPlusM,
DMinusA,
DMinusM,
AMinusD,
MMinusD,
DAndA,
DAndM,
DOrA,
DOrM,
}
Expand description
Comp part of a C-instruction.
Format is this: ***a cccc cc** ****
Variants
Zero
One
MinusOne
D
A
M
NotD
NotA
NotM
MinusD
MinusA
MinusM
DPlusOne
APlusOne
MPlusOne
DMinusOne
AMinusOne
MMinusOne
DPlusA
DPlusM
DMinusA
DMinusM
AMinusD
MMinusD
DAndA
DAndM
DOrA
DOrM
Trait Implementations
impl Copy for Comp
impl Eq for Comp
impl StructuralEq for Comp
impl StructuralPartialEq for Comp
Auto Trait Implementations
impl RefUnwindSafe for Comp
impl Send for Comp
impl Sync for Comp
impl Unpin for Comp
impl UnwindSafe for Comp
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more