Enum uiua::AsciiToken
source · pub enum AsciiToken {
Show 20 variants
OpenParen,
CloseParen,
OpenCurly,
CloseCurly,
OpenBracket,
CloseBracket,
Underscore,
Bar,
Colon,
Star,
Percent,
Caret,
Equal,
BangEqual,
LessEqual,
GreaterEqual,
Backtick,
TripleMinus,
Quote,
Quote2,
}Expand description
An ASCII lexical token
Variants§
OpenParen
CloseParen
OpenCurly
CloseCurly
OpenBracket
CloseBracket
Underscore
Bar
Colon
Star
Percent
Caret
Equal
BangEqual
LessEqual
GreaterEqual
Backtick
TripleMinus
Quote
Quote2
Trait Implementations§
source§impl Clone for AsciiToken
impl Clone for AsciiToken
source§fn clone(&self) -> AsciiToken
fn clone(&self) -> AsciiToken
Returns a copy 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 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
source§fn eq(&self, other: &AsciiToken) -> bool
fn eq(&self, other: &AsciiToken) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for AsciiToken
impl Eq for AsciiToken
impl StructuralEq for AsciiToken
impl StructuralPartialEq for AsciiToken
Auto Trait Implementations§
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more