Struct apollo_parser::ast::FloatValue
source · pub struct FloatValue { /* private fields */ }
Implementations
sourceimpl FloatValue
impl FloatValue
pub fn float_token(&self) -> Option<SyntaxToken<GraphQLLanguage>>
Trait Implementations
sourceimpl 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,
sourceimpl Clone for FloatValue
impl Clone for FloatValue
sourcefn clone(&self) -> FloatValue
fn clone(&self) -> FloatValue
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for FloatValue
impl Debug for FloatValue
sourceimpl From<&FloatValue> for f64
impl From<&FloatValue> for f64
sourcefn from(val: &FloatValue) -> Self
fn from(val: &FloatValue) -> Self
Converts to this type from the input type.
sourceimpl From<FloatValue> for Value
impl From<FloatValue> for Value
sourcefn from(node: FloatValue) -> Value
fn from(node: FloatValue) -> Value
Converts to this type from the input type.
sourceimpl From<FloatValue> for f64
impl From<FloatValue> for f64
sourcefn from(val: FloatValue) -> Self
fn from(val: FloatValue) -> Self
Converts to this type from the input type.
sourceimpl Hash for FloatValue
impl Hash for FloatValue
sourceimpl PartialEq<FloatValue> for FloatValue
impl PartialEq<FloatValue> for FloatValue
sourcefn eq(&self, other: &FloatValue) -> bool
fn eq(&self, other: &FloatValue) -> bool
impl Eq for FloatValue
impl StructuralEq for FloatValue
impl StructuralPartialEq for FloatValue
Auto Trait Implementations
impl !RefUnwindSafe for FloatValue
impl !Send for FloatValue
impl !Sync for FloatValue
impl Unpin for FloatValue
impl !UnwindSafe for FloatValue
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more