Enum juniper::parser::ScalarToken
source · Expand description
A single scalar value literal
This is only used for tagging how the lexer has interpreted a value literal
Variants§
Trait Implementations§
source§impl<'a> Clone for ScalarToken<'a>
impl<'a> Clone for ScalarToken<'a>
source§fn clone(&self) -> ScalarToken<'a>
fn clone(&self) -> ScalarToken<'a>
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<'a> Debug for ScalarToken<'a>
impl<'a> Debug for ScalarToken<'a>
source§impl<'a> PartialEq<ScalarToken<'a>> for ScalarToken<'a>
impl<'a> PartialEq<ScalarToken<'a>> for ScalarToken<'a>
source§fn eq(&self, other: &ScalarToken<'a>) -> bool
fn eq(&self, other: &ScalarToken<'a>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.