Enum text_parsing::ParserEvent
source · 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: PartialEq> PartialEq for ParserEvent<D>
impl<D: PartialEq> PartialEq for ParserEvent<D>
source§fn eq(&self, other: &ParserEvent<D>) -> bool
fn eq(&self, other: &ParserEvent<D>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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