Struct apollo_parser::ast::InterfaceTypeDefinition
source · pub struct InterfaceTypeDefinition { /* private fields */ }
Implementations§
source§impl InterfaceTypeDefinition
impl InterfaceTypeDefinition
pub fn description(&self) -> Option<Description>
pub fn interface_token(&self) -> Option<SyntaxToken<GraphQLLanguage>>
pub fn name(&self) -> Option<Name>
pub fn implements_interfaces(&self) -> Option<ImplementsInterfaces>
pub fn directives(&self) -> Option<Directives>
pub fn fields_definition(&self) -> Option<FieldsDefinition>
Trait Implementations§
source§impl AstNode for InterfaceTypeDefinition
impl AstNode for InterfaceTypeDefinition
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 InterfaceTypeDefinition
impl Clone for InterfaceTypeDefinition
source§fn clone(&self) -> InterfaceTypeDefinition
fn clone(&self) -> InterfaceTypeDefinition
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 InterfaceTypeDefinition
impl Debug for InterfaceTypeDefinition
source§impl From<InterfaceTypeDefinition> for Definition
impl From<InterfaceTypeDefinition> for Definition
source§fn from(node: InterfaceTypeDefinition) -> Definition
fn from(node: InterfaceTypeDefinition) -> Definition
Converts to this type from the input type.