pub enum Unit {
Symbol(Box<str>),
Parser(Parser),
}
Expand description
Some unit, which represents an intermediate state.
Variants§
Symbol(Box<str>)
The current unit is a single symbol.
Parser(Parser)
The current unit is a parser, which can yield multiple units.
Implementations§
Auto Trait Implementations§
impl Freeze for Unit
impl RefUnwindSafe for Unit
impl Send for Unit
impl Sync for Unit
impl Unpin for Unit
impl UnwindSafe for Unit
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