enum Frame<'a> {
    Repetition(&'a Repetition),
    Capture(&'a Capture),
    Concat {
        head: &'a Hir,
        tail: &'a [Hir],
    },
    Alternation {
        head: &'a Hir,
        tail: &'a [Hir],
    },
}Expand description
Represents a single stack frame while performing structural induction over
an Hir.
Variants§
Repetition(&'a Repetition)
A stack frame allocated just before descending into a repetition operator’s child node.
Capture(&'a Capture)
A stack frame allocated just before descending into a capture’s child node.
Concat
The stack frame used while visiting every child node of a concatenation of expressions.
Fields
Alternation
The stack frame used while visiting every child node of an alternation of expressions.
Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Frame<'a>
impl<'a> RefUnwindSafe for Frame<'a>
impl<'a> Send for Frame<'a>
impl<'a> Sync for Frame<'a>
impl<'a> Unpin for Frame<'a>
impl<'a> UnwindSafe for Frame<'a>
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