Struct apollo_parser::ast::FloatValue
source · pub struct FloatValue { /* private fields */ }
Implementations§
source§impl FloatValue
impl FloatValue
pub fn float_token(&self) -> Option<SyntaxToken<GraphQLLanguage>>
Trait Implementations§
source§impl AstNode for FloatValue
impl AstNode for FloatValue
fn can_cast(kind: SyntaxKind) -> bool
fn cast(syntax: SyntaxNode) -> Option<Self>
fn syntax(&self) -> &SyntaxNode
fn source_string(&self) -> String
fn clone_for_update(&self) -> Selfwhere
Self: Sized,
fn clone_subtree(&self) -> Selfwhere
Self: Sized,
source§impl Clone for FloatValue
impl Clone for FloatValue
source§fn clone(&self) -> FloatValue
fn clone(&self) -> FloatValue
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 FloatValue
impl Debug for FloatValue
source§impl From<FloatValue> for Value
impl From<FloatValue> for Value
source§fn from(node: FloatValue) -> Value
fn from(node: FloatValue) -> Value
Converts to this type from the input type.
source§impl Hash for FloatValue
impl Hash for FloatValue
source§impl PartialEq<FloatValue> for FloatValue
impl PartialEq<FloatValue> for FloatValue
source§fn eq(&self, other: &FloatValue) -> bool
fn eq(&self, other: &FloatValue) -> bool
source§impl TryFrom<&FloatValue> for f64
impl TryFrom<&FloatValue> for f64
§type Error = ParseFloatError
type Error = ParseFloatError
The type returned in the event of a conversion error.
source§impl TryFrom<FloatValue> for f64
impl TryFrom<FloatValue> for f64
§type Error = ParseFloatError
type Error = ParseFloatError
The type returned in the event of a conversion error.