pub enum Run {
App,
List,
Map,
Block,
Case,
Head,
PatList,
PatMap,
}Expand description
What a run of nodes or patterns belongs to, recorded by its barrier in debug builds.
Variants§
App
An application: the callee, then the arguments.
List
A list literal’s elements.
Map
A map literal’s keys, then its values.
Block
A block’s binding patterns, or its clause expressions.
Case
A case’s arm patterns, or its arm bodies followed by the subject.
Head
A lambda’s parameter patterns.
PatList
A list pattern’s elements.
PatMap
A map pattern’s key patterns, then its value patterns.
Trait Implementations§
impl Copy for Run
impl Eq for Run
impl StructuralPartialEq for Run
Auto Trait Implementations§
impl Freeze for Run
impl RefUnwindSafe for Run
impl Send for Run
impl Sync for Run
impl Unpin for Run
impl UnsafeUnpin for Run
impl UnwindSafe for Run
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more