pub enum Cond {
Abs = 0,
Equals = 16,
Greater = 32,
GreaterEquals = 48,
Lower = 160,
LowerEquals = 176,
BitAnd = 64,
NotEquals = 80,
GreaterSigned = 96,
GreaterEqualsSigned = 112,
LowerSigned = 192,
LowerEqualsSigned = 208,
}
Expand description
Conditions for JMP instructions
Variants§
Abs = 0
Absolute or unconditional
Equals = 16
Jump if ==
Greater = 32
Jump if >
GreaterEquals = 48
Jump if >=
Lower = 160
Jump if <
LowerEquals = 176
Jump if <=
BitAnd = 64
Jump if src
& dst
NotEquals = 80
Jump if !=
GreaterSigned = 96
Jump if >
(signed)
GreaterEqualsSigned = 112
Jump if >=
(signed)
LowerSigned = 192
Jump if <
(signed)
LowerEqualsSigned = 208
Jump if <=
(signed)
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,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more