pub enum SyntaxToken {
Literal(String),
Comma,
Field(ObjectFieldIdentifier),
}
Variants§
Implementations§
Source§impl SyntaxToken
impl SyntaxToken
Trait Implementations§
Source§impl Clone for SyntaxToken
impl Clone for SyntaxToken
Source§fn clone(&self) -> SyntaxToken
fn clone(&self) -> SyntaxToken
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 SyntaxToken
impl Debug for SyntaxToken
Source§impl From<&str> for SyntaxToken
impl From<&str> for SyntaxToken
Source§impl From<ObjectFieldIdentifier> for SyntaxToken
impl From<ObjectFieldIdentifier> for SyntaxToken
Source§fn from(value: ObjectFieldIdentifier) -> Self
fn from(value: ObjectFieldIdentifier) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SyntaxToken
impl PartialEq for SyntaxToken
impl StructuralPartialEq for SyntaxToken
Auto Trait Implementations§
impl Freeze for SyntaxToken
impl RefUnwindSafe for SyntaxToken
impl Send for SyntaxToken
impl Sync for SyntaxToken
impl Unpin for SyntaxToken
impl UnwindSafe for SyntaxToken
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§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
)