Struct apollo_parser::ast::InputObjectTypeExtension
source · pub struct InputObjectTypeExtension { /* private fields */ }
Implementations§
source§impl InputObjectTypeExtension
impl InputObjectTypeExtension
pub fn extend_token(&self) -> Option<SyntaxToken<GraphQLLanguage>>
pub fn input_token(&self) -> Option<SyntaxToken<GraphQLLanguage>>
pub fn name(&self) -> Option<Name>
pub fn directives(&self) -> Option<Directives>
pub fn input_fields_definition(&self) -> Option<InputFieldsDefinition>
Trait Implementations§
source§impl AstNode for InputObjectTypeExtension
impl AstNode for InputObjectTypeExtension
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 InputObjectTypeExtension
impl Clone for InputObjectTypeExtension
source§fn clone(&self) -> InputObjectTypeExtension
fn clone(&self) -> InputObjectTypeExtension
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 InputObjectTypeExtension
impl Debug for InputObjectTypeExtension
source§impl From<InputObjectTypeExtension> for Definition
impl From<InputObjectTypeExtension> for Definition
source§fn from(node: InputObjectTypeExtension) -> Definition
fn from(node: InputObjectTypeExtension) -> Definition
Converts to this type from the input type.
source§impl Hash for InputObjectTypeExtension
impl Hash for InputObjectTypeExtension
source§impl PartialEq<InputObjectTypeExtension> for InputObjectTypeExtension
impl PartialEq<InputObjectTypeExtension> for InputObjectTypeExtension
source§fn eq(&self, other: &InputObjectTypeExtension) -> bool
fn eq(&self, other: &InputObjectTypeExtension) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.