Struct apollo_parser::cst::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) -> CstChildren<EnumValueDefinition> ⓘ
pub fn r_curly_token(&self) -> Option<SyntaxToken<GraphQLLanguage>>
Trait Implementations§
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 CstNode for EnumValuesDefinition
impl CstNode 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 Debug for EnumValuesDefinition
impl Debug for EnumValuesDefinition
source§impl Hash for EnumValuesDefinition
impl Hash for EnumValuesDefinition
source§impl PartialEq for EnumValuesDefinition
impl PartialEq 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 ==
.impl Eq for EnumValuesDefinition
impl StructuralPartialEq for EnumValuesDefinition
Auto Trait Implementations§
impl Freeze for EnumValuesDefinition
impl !RefUnwindSafe for EnumValuesDefinition
impl !Send for EnumValuesDefinition
impl !Sync for EnumValuesDefinition
impl Unpin for EnumValuesDefinition
impl !UnwindSafe for EnumValuesDefinition
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