Enum cranelift_isle::trie::TrieNode
source · [−]pub enum TrieNode {
Decision {
edges: Vec<TrieEdge>,
},
Leaf {
prio: Prio,
output: ExprSequence,
},
Empty,
}
Expand description
A node in the term trie.
Variants
Decision
One or more patterns could match.
Maybe one pattern already has matched, but there are more (higher priority and/or same priority but more specific) patterns that could still match.
Leaf
Fields
prio: Prio
The priority of this rule.
output: ExprSequence
The RHS expression to evaluate upon a successful LHS pattern match.
The successful match of an LHS pattern, and here is its RHS expression.
Empty
No LHS pattern matches.
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for TrieNode
impl Send for TrieNode
impl Sync for TrieNode
impl Unpin for TrieNode
impl UnwindSafe for TrieNode
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more