Struct apollo_parser::cst::EnumTypeExtension
source · pub struct EnumTypeExtension { /* private fields */ }
Implementations§
source§impl EnumTypeExtension
impl EnumTypeExtension
pub fn extend_token(&self) -> Option<SyntaxToken<GraphQLLanguage>>
pub fn enum_token(&self) -> Option<SyntaxToken<GraphQLLanguage>>
pub fn name(&self) -> Option<Name>
pub fn directives(&self) -> Option<Directives>
pub fn enum_values_definition(&self) -> Option<EnumValuesDefinition>
Trait Implementations§
source§impl Clone for EnumTypeExtension
impl Clone for EnumTypeExtension
source§fn clone(&self) -> EnumTypeExtension
fn clone(&self) -> EnumTypeExtension
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 EnumTypeExtension
impl CstNode for EnumTypeExtension
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 EnumTypeExtension
impl Debug for EnumTypeExtension
source§impl From<EnumTypeExtension> for Definition
impl From<EnumTypeExtension> for Definition
source§fn from(node: EnumTypeExtension) -> Definition
fn from(node: EnumTypeExtension) -> Definition
Converts to this type from the input type.
source§impl Hash for EnumTypeExtension
impl Hash for EnumTypeExtension
source§impl PartialEq for EnumTypeExtension
impl PartialEq for EnumTypeExtension
source§fn eq(&self, other: &EnumTypeExtension) -> bool
fn eq(&self, other: &EnumTypeExtension) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for EnumTypeExtension
impl StructuralPartialEq for EnumTypeExtension
Auto Trait Implementations§
impl Freeze for EnumTypeExtension
impl !RefUnwindSafe for EnumTypeExtension
impl !Send for EnumTypeExtension
impl !Sync for EnumTypeExtension
impl Unpin for EnumTypeExtension
impl !UnwindSafe for EnumTypeExtension
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