Enum peepmatic_runtime::part::Part [−][src]
pub enum Part<I> where
I: Copy + Debug + Eq, {
Instruction(I),
Constant(Constant),
ConditionCode(ConditionCode),
}
Expand description
A part of an instruction, or a whole instruction itself.
These are the different values that can be matched in an optimization’s left-hand side and then built up in its right-hand side.
Variants
An instruction (or result of an instruction).
Constant(Constant)
A constant value.
Tuple Fields of Constant
0: Constant
ConditionCode(ConditionCode)
A condition code.
Tuple Fields of ConditionCode
Implementations
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl<I> RefUnwindSafe for Part<I> where
I: RefUnwindSafe,
impl<I> UnwindSafe for Part<I> where
I: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more