pub enum STokenKind {
Show 55 variants
Assert,
Else,
Error,
False,
For,
Function,
If,
Import,
Importstr,
Importbin,
In,
Local,
Null,
Tailstrict,
Then,
Self_,
Super,
True,
Exclam,
ExclamEq,
Dollar,
Percent,
Amp,
AmpAmp,
LeftParen,
RightParen,
Asterisk,
Plus,
PlusColon,
PlusColonColon,
PlusColonColonColon,
Comma,
Minus,
Dot,
Slash,
Colon,
ColonColon,
ColonColonColon,
Semicolon,
Lt,
LtLt,
LtEq,
Eq,
EqEq,
Gt,
GtEq,
GtGt,
LeftBracket,
RightBracket,
Hat,
LeftBrace,
Pipe,
PipePipe,
RightBrace,
Tilde,
}Variants§
Assert
Else
Error
False
For
Function
If
Import
Importstr
Importbin
In
Local
Null
Tailstrict
Then
Self_
Super
True
Exclam
ExclamEq
Dollar
Percent
Amp
AmpAmp
LeftParen
RightParen
Asterisk
Plus
PlusColon
PlusColonColon
PlusColonColonColon
Comma
Minus
Dot
Slash
Colon
ColonColon
ColonColonColon
Semicolon
Lt
LtLt
LtEq
Eq
EqEq
Gt
GtEq
GtGt
LeftBracket
RightBracket
Hat
LeftBrace
Pipe
PipePipe
RightBrace
Tilde
Trait Implementations§
Source§impl Clone for STokenKind
impl Clone for STokenKind
Source§fn clone(&self) -> STokenKind
fn clone(&self) -> STokenKind
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 STokenKind
impl Debug for STokenKind
Source§impl Ord for STokenKind
impl Ord for STokenKind
Source§fn cmp(&self, other: &STokenKind) -> Ordering
fn cmp(&self, other: &STokenKind) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for STokenKind
impl PartialEq for STokenKind
Source§impl PartialOrd for STokenKind
impl PartialOrd for STokenKind
impl Copy for STokenKind
impl Eq for STokenKind
impl StructuralPartialEq for STokenKind
Auto Trait Implementations§
impl Freeze for STokenKind
impl RefUnwindSafe for STokenKind
impl Send for STokenKind
impl Sync for STokenKind
impl Unpin for STokenKind
impl UnwindSafe for STokenKind
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.