Struct cranelift_isle::ir::PatternSequence [−][src]
pub struct PatternSequence {
pub insts: Vec<PatternInst>,
}
Expand description
A linear sequence of instructions that match on and destructure an
argument. A pattern is fallible (may not match). If it does not fail, its
result consists of the values produced by the PatternInst
s, which may be
used by a subsequent Expr
.
Fields
insts: Vec<PatternInst>
Instruction sequence for pattern.
InstId
indexes into this sequence for Value::Pattern
values.
Trait Implementations
Returns the “default value” for a type. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for PatternSequence
impl Send for PatternSequence
impl Sync for PatternSequence
impl Unpin for PatternSequence
impl UnwindSafe for PatternSequence
Blanket Implementations
Mutably borrows from an owned value. Read more