Enum any_lexer::JsonCToken
source · pub enum JsonCToken {
Space,
LineComment,
BlockComment,
String,
Number,
Null,
True,
False,
Punct,
Delim,
Unknown,
}
Variants§
Space
LineComment
BlockComment
String
Number
Null
True
False
Punct
Punctuation e.g. :
, ,
.
Delim
Delimiter e.g. {
, }
, [
, and ]
.
Unknown
Given valid JSON with Comments, then this variant should never be encountered. If is is encountered, then check if an issue has already been submitted, otherwise please submit an issue.
Trait Implementations§
source§impl Clone for JsonCToken
impl Clone for JsonCToken
source§fn clone(&self) -> JsonCToken
fn clone(&self) -> JsonCToken
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 JsonCToken
impl Debug for JsonCToken
source§impl PartialEq<JsonCToken> for JsonCToken
impl PartialEq<JsonCToken> for JsonCToken
source§fn eq(&self, other: &JsonCToken) -> bool
fn eq(&self, other: &JsonCToken) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl ScanToken for JsonCToken
impl ScanToken for JsonCToken
impl Copy for JsonCToken
impl Eq for JsonCToken
impl StructuralEq for JsonCToken
impl StructuralPartialEq for JsonCToken
Auto Trait Implementations§
impl RefUnwindSafe for JsonCToken
impl Send for JsonCToken
impl Sync for JsonCToken
impl Unpin for JsonCToken
impl UnwindSafe for JsonCToken
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