Struct apollo_parser::ast::FragmentName
source · pub struct FragmentName { /* private fields */ }
Implementations§
Trait Implementations§
source§impl AstNode for FragmentName
impl AstNode for FragmentName
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 FragmentName
impl Clone for FragmentName
source§fn clone(&self) -> FragmentName
fn clone(&self) -> FragmentName
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 FragmentName
impl Debug for FragmentName
source§impl Hash for FragmentName
impl Hash for FragmentName
source§impl PartialEq<FragmentName> for FragmentName
impl PartialEq<FragmentName> for FragmentName
source§fn eq(&self, other: &FragmentName) -> bool
fn eq(&self, other: &FragmentName) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.