#[repr(u8)]pub enum Predicate {
Always = 8,
IfGT = 4,
IfEQ = 2,
IfLT = 1,
IfGE = 6,
IfLE = 3,
IfNotEQ = 40,
IfGTOrLT = 5,
}Expand description
Predicate for an instruction. Encoded so that comparing it to flags is efficient.
Variants§
Always = 8
Always execute the associated instruction.
IfGT = 4
Execute the associated instruction if the “greater than” execution flag is set.
IfEQ = 2
Execute the associated instruction if the “equal” execution flag is set.
IfLT = 1
Execute the associated instruction if the “less than” execution flag is set.
IfGE = 6
Execute the associated instruction if either of “greater than” or “equal” execution flags are set.
IfLE = 3
Execute the associated instruction if either of “less than” or “equal” execution flags are set.
IfNotEQ = 40
Execute the associated instruction if the “equal” execution flag is not set.
IfGTOrLT = 5
Execute the associated instruction if either of “less than” or “greater than” execution flags are set.
Trait Implementations§
impl Copy for Predicate
Auto Trait Implementations§
impl Freeze for Predicate
impl RefUnwindSafe for Predicate
impl Send for Predicate
impl Sync for Predicate
impl Unpin for Predicate
impl UnwindSafe for Predicate
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