Enum rsjsonnet_lang::token::STokenKind
source · 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§fn eq(&self, other: &STokenKind) -> bool
fn eq(&self, other: &STokenKind) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for STokenKind
impl PartialOrd for STokenKind
source§fn partial_cmp(&self, other: &STokenKind) -> Option<Ordering>
fn partial_cmp(&self, other: &STokenKind) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl 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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)