Struct apollo_parser::ast::SchemaExtension
source · pub struct SchemaExtension { /* private fields */ }
Implementations§
source§impl SchemaExtension
impl SchemaExtension
pub fn extend_token(&self) -> Option<SyntaxToken<GraphQLLanguage>>
pub fn schema_token(&self) -> Option<SyntaxToken<GraphQLLanguage>>
pub fn directives(&self) -> Option<Directives>
pub fn l_curly_token(&self) -> Option<SyntaxToken<GraphQLLanguage>>
pub fn root_operation_type_definitions(
&self
) -> AstChildren<RootOperationTypeDefinition> ⓘ
pub fn r_curly_token(&self) -> Option<SyntaxToken<GraphQLLanguage>>
Trait Implementations§
source§impl AstNode for SchemaExtension
impl AstNode for SchemaExtension
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 SchemaExtension
impl Clone for SchemaExtension
source§fn clone(&self) -> SchemaExtension
fn clone(&self) -> SchemaExtension
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 SchemaExtension
impl Debug for SchemaExtension
source§impl From<SchemaExtension> for Definition
impl From<SchemaExtension> for Definition
source§fn from(node: SchemaExtension) -> Definition
fn from(node: SchemaExtension) -> Definition
Converts to this type from the input type.