Struct apollo_parser::cst::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 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 CstNode for FloatValue
impl CstNode 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 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 for FloatValue
impl PartialEq for FloatValue
source§fn eq(&self, other: &FloatValue) -> bool
fn eq(&self, other: &FloatValue) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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.
impl Eq for FloatValue
impl StructuralPartialEq for FloatValue
Auto Trait Implementations§
impl Freeze for FloatValue
impl !RefUnwindSafe for FloatValue
impl !Send for FloatValue
impl !Sync for FloatValue
impl Unpin for FloatValue
impl !UnwindSafe for FloatValue
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