Enum Cond
#[repr(u8)]pub enum Cond {
Show 16 variants
Eq = 0,
Ne = 1,
Hs = 2,
Lo = 3,
Mi = 4,
Pl = 5,
Vs = 6,
Vc = 7,
Hi = 8,
Ls = 9,
Ge = 10,
Lt = 11,
Gt = 12,
Le = 13,
Al = 14,
Nv = 15,
}
Expand description
Condition for conditional branches.
Variants§
Eq = 0
Equal.
Ne = 1
Not equal.
Hs = 2
Unsigned greater than or equal to.
Lo = 3
Unsigned less than.
Mi = 4
Minus, negative.
Pl = 5
Positive or zero.
Vs = 6
Signed overflow.
Vc = 7
No signed overflow.
Hi = 8
Unsigned greater than.
Ls = 9
Unsigned less than or equal to.
Ge = 10
Signed greater or equal to.
Lt = 11
Signed less than.
Gt = 12
Signed greater than.
Le = 13
Signed less than or equal.
Al = 14
Always executed.
Nv = 15
Always executed.
Implementations§
Trait Implementations§
impl Copy for Cond
impl Eq for Cond
impl StructuralPartialEq for Cond
Auto Trait Implementations§
impl Freeze for Cond
impl RefUnwindSafe for Cond
impl Send for Cond
impl Sync for Cond
impl Unpin for Cond
impl UnwindSafe for Cond
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more