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