Enum rsjsonnet_lang::parser::ExpectedThing
source · pub enum ExpectedThing {
EndOfFile,
Simple(STokenKind),
Ident,
Number,
String,
TextBlock,
Expr,
BinaryOp,
}Variants§
Trait Implementations§
source§impl Clone for ExpectedThing
impl Clone for ExpectedThing
source§fn clone(&self) -> ExpectedThing
fn clone(&self) -> ExpectedThing
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 ExpectedThing
impl Debug for ExpectedThing
source§impl Ord for ExpectedThing
impl Ord for ExpectedThing
source§fn cmp(&self, other: &ExpectedThing) -> Ordering
fn cmp(&self, other: &ExpectedThing) -> 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 ExpectedThing
impl PartialEq for ExpectedThing
source§fn eq(&self, other: &ExpectedThing) -> bool
fn eq(&self, other: &ExpectedThing) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for ExpectedThing
impl PartialOrd for ExpectedThing
source§fn partial_cmp(&self, other: &ExpectedThing) -> Option<Ordering>
fn partial_cmp(&self, other: &ExpectedThing) -> 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 ExpectedThing
impl Eq for ExpectedThing
impl StructuralPartialEq for ExpectedThing
Auto Trait Implementations§
impl Freeze for ExpectedThing
impl RefUnwindSafe for ExpectedThing
impl Send for ExpectedThing
impl Sync for ExpectedThing
impl Unpin for ExpectedThing
impl UnwindSafe for ExpectedThing
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: 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)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)