pub enum ParserEvent<D> {
Char(char),
Breaker(Breaker),
Parsed(D),
}
Variants§
Trait Implementations§
Source§impl<D: Debug> Debug for ParserEvent<D>
impl<D: Debug> Debug for ParserEvent<D>
Source§impl<D> From<SourceEvent> for ParserEvent<D>
impl<D> From<SourceEvent> for ParserEvent<D>
Source§fn from(se: SourceEvent) -> ParserEvent<D>
fn from(se: SourceEvent) -> ParserEvent<D>
Converts to this type from the input type.
Source§impl<D: PartialEq> PartialEq for ParserEvent<D>
impl<D: PartialEq> PartialEq for ParserEvent<D>
impl<D: Eq> Eq for ParserEvent<D>
impl<D> StructuralPartialEq for ParserEvent<D>
Auto Trait Implementations§
impl<D> Freeze for ParserEvent<D>where
D: Freeze,
impl<D> RefUnwindSafe for ParserEvent<D>where
D: RefUnwindSafe,
impl<D> Send for ParserEvent<D>where
D: Send,
impl<D> Sync for ParserEvent<D>where
D: Sync,
impl<D> Unpin for ParserEvent<D>where
D: Unpin,
impl<D> UnwindSafe for ParserEvent<D>where
D: UnwindSafe,
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