Struct apollo_parser::ast::StringValue
source · pub struct StringValue { /* private fields */ }
Trait Implementations§
source§impl AstNode for StringValue
impl AstNode for StringValue
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 StringValue
impl Clone for StringValue
source§fn clone(&self) -> StringValue
fn clone(&self) -> StringValue
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 StringValue
impl Debug for StringValue
source§impl From<&StringValue> for String
impl From<&StringValue> for String
source§fn from(val: &StringValue) -> Self
fn from(val: &StringValue) -> Self
Converts to this type from the input type.
source§impl From<StringValue> for String
impl From<StringValue> for String
source§fn from(val: StringValue) -> Self
fn from(val: StringValue) -> Self
Converts to this type from the input type.
source§impl From<StringValue> for Value
impl From<StringValue> for Value
source§fn from(node: StringValue) -> Value
fn from(node: StringValue) -> Value
Converts to this type from the input type.