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