#[repr(u8)]pub enum CC {
Show 16 variants
O = 0,
NO = 1,
B = 2,
NB = 3,
Z = 4,
NZ = 5,
BE = 6,
NBE = 7,
S = 8,
NS = 9,
L = 12,
NL = 13,
LE = 14,
NLE = 15,
P = 10,
NP = 11,
}
Expand description
These indicate condition code tests. Not all are represented since not all are useful in compiler-generated code.
Variants§
O = 0
overflow
NO = 1
no overflow
B = 2
< unsigned
NB = 3
= unsigned
Z = 4
zero
NZ = 5
not-zero
BE = 6
<= unsigned
NBE = 7
unsigned
S = 8
negative
NS = 9
not-negative
L = 12
< signed
NL = 13
= signed
LE = 14
<= signed
NLE = 15
signed
P = 10
parity
NP = 11
not parity
Trait Implementations§
impl Copy for CC
impl Eq for CC
impl StructuralPartialEq for CC
Auto Trait Implementations§
impl Freeze for CC
impl RefUnwindSafe for CC
impl Send for CC
impl Sync for CC
impl Unpin for CC
impl UnwindSafe for CC
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.