Struct apollo_parser::ast::EnumValuesDefinition
source · pub struct EnumValuesDefinition { /* private fields */ }
Implementations
sourceimpl 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
sourceimpl 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,
sourceimpl Clone for EnumValuesDefinition
impl Clone for EnumValuesDefinition
sourcefn clone(&self) -> EnumValuesDefinition
fn clone(&self) -> EnumValuesDefinition
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 EnumValuesDefinition
impl Debug for EnumValuesDefinition
sourceimpl Hash for EnumValuesDefinition
impl Hash for EnumValuesDefinition
sourceimpl PartialEq<EnumValuesDefinition> for EnumValuesDefinition
impl PartialEq<EnumValuesDefinition> for EnumValuesDefinition
sourcefn eq(&self, other: &EnumValuesDefinition) -> bool
fn eq(&self, other: &EnumValuesDefinition) -> bool
impl Eq for EnumValuesDefinition
impl StructuralEq for EnumValuesDefinition
impl StructuralPartialEq for EnumValuesDefinition
Auto Trait Implementations
impl !RefUnwindSafe for EnumValuesDefinition
impl !Send for EnumValuesDefinition
impl !Sync for EnumValuesDefinition
impl Unpin for EnumValuesDefinition
impl !UnwindSafe for EnumValuesDefinition
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