pub enum Suffix {
Empty,
Single(Combinator),
Sequence(Vec<Combinator>),
}Expand description
What remains of an alternative after factoring out the common prefix
Variants§
Empty
The alternative was exactly the prefix (nothing remains)
Single(Combinator)
A single combinator remains
Sequence(Vec<Combinator>)
Multiple combinators remain
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Suffix
impl RefUnwindSafe for Suffix
impl Send for Suffix
impl Sync for Suffix
impl Unpin for Suffix
impl UnsafeUnpin for Suffix
impl UnwindSafe for Suffix
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