Struct apollo_parser::ast::StringValue
source · pub struct StringValue { /* private fields */ }
Trait Implementations
sourceimpl 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,
sourceimpl Clone for StringValue
impl Clone for StringValue
sourcefn clone(&self) -> StringValue
fn clone(&self) -> StringValue
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 StringValue
impl Debug for StringValue
sourceimpl From<&StringValue> for String
impl From<&StringValue> for String
sourcefn from(val: &StringValue) -> Self
fn from(val: &StringValue) -> Self
Converts to this type from the input type.
sourceimpl From<StringValue> for String
impl From<StringValue> for String
sourcefn from(val: StringValue) -> Self
fn from(val: StringValue) -> Self
Converts to this type from the input type.
sourceimpl From<StringValue> for Value
impl From<StringValue> for Value
sourcefn from(node: StringValue) -> Value
fn from(node: StringValue) -> Value
Converts to this type from the input type.
sourceimpl Hash for StringValue
impl Hash for StringValue
sourceimpl PartialEq<StringValue> for StringValue
impl PartialEq<StringValue> for StringValue
sourcefn eq(&self, other: &StringValue) -> bool
fn eq(&self, other: &StringValue) -> bool
impl Eq for StringValue
impl StructuralEq for StringValue
impl StructuralPartialEq for StringValue
Auto Trait Implementations
impl !RefUnwindSafe for StringValue
impl !Send for StringValue
impl !Sync for StringValue
impl Unpin for StringValue
impl !UnwindSafe for StringValue
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