pub enum TextToken<'a> {
Text(String),
Newline,
Brace(Delimited<Token<'a>>),
}Variants§
Trait Implementations§
source§impl<'a> PartialEq<TextToken<'a>> for TextToken<'a>
impl<'a> PartialEq<TextToken<'a>> for TextToken<'a>
impl<'a> StructuralPartialEq for TextToken<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for TextToken<'a>
impl<'a> Send for TextToken<'a>
impl<'a> Sync for TextToken<'a>
impl<'a> Unpin for TextToken<'a>
impl<'a> UnwindSafe for TextToken<'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