pub enum AsciiToken {
Show 18 variants
OpenParen,
CloseParen,
OpenCurly,
CloseCurly,
OpenBracket,
CloseBracket,
Underscore,
Bar,
Colon,
Semicolon,
DoubleSemicolon,
Star,
Percent,
Equal,
Backtick,
Tilde,
DoubleTilde,
Quote,
}Expand description
An ASCII lexical token
Variants§
OpenParen
CloseParen
OpenCurly
CloseCurly
OpenBracket
CloseBracket
Underscore
Bar
Colon
Semicolon
DoubleSemicolon
Star
Percent
Equal
Backtick
Tilde
DoubleTilde
Quote
Trait Implementations§
Source§impl Clone for AsciiToken
impl Clone for AsciiToken
Source§fn clone(&self) -> AsciiToken
fn clone(&self) -> AsciiToken
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AsciiToken
impl Debug for AsciiToken
Source§impl Display for AsciiToken
impl Display for AsciiToken
Source§impl From<AsciiToken> for Expectation
impl From<AsciiToken> for Expectation
Source§fn from(simple: AsciiToken) -> Self
fn from(simple: AsciiToken) -> Self
Converts to this type from the input type.
Source§impl From<AsciiToken> for Token
impl From<AsciiToken> for Token
Source§fn from(s: AsciiToken) -> Self
fn from(s: AsciiToken) -> Self
Converts to this type from the input type.
Source§impl Hash for AsciiToken
impl Hash for AsciiToken
Source§impl PartialEq for AsciiToken
impl PartialEq for AsciiToken
impl Copy for AsciiToken
impl Eq for AsciiToken
impl StructuralPartialEq for AsciiToken
Auto Trait Implementations§
impl Freeze for AsciiToken
impl RefUnwindSafe for AsciiToken
impl Send for AsciiToken
impl Sync for AsciiToken
impl Unpin for AsciiToken
impl UnwindSafe for AsciiToken
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