pub enum LexerPattern {
Regex(LitStr),
Name(Ident),
}Expand description
LexerPattern ::= Regex | NameVariants§
Trait Implementations§
Source§impl Debug for LexerPattern
impl Debug for LexerPattern
Source§impl Parse for LexerPattern
impl Parse for LexerPattern
fn parse(input: ParseStream<'_>) -> Result<Self>
Auto Trait Implementations§
impl Freeze for LexerPattern
impl RefUnwindSafe for LexerPattern
impl !Send for LexerPattern
impl !Sync for LexerPattern
impl Unpin for LexerPattern
impl UnwindSafe for LexerPattern
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