Struct apollo_parser::cst::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 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 CstNode for InterfaceTypeDefinition
 
impl CstNode 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 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.
source§impl Hash for InterfaceTypeDefinition
 
impl Hash for InterfaceTypeDefinition
source§impl PartialEq for InterfaceTypeDefinition
 
impl PartialEq for InterfaceTypeDefinition
source§fn eq(&self, other: &InterfaceTypeDefinition) -> bool
 
fn eq(&self, other: &InterfaceTypeDefinition) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.impl Eq for InterfaceTypeDefinition
impl StructuralEq for InterfaceTypeDefinition
impl StructuralPartialEq for InterfaceTypeDefinition
Auto Trait Implementations§
impl !RefUnwindSafe for InterfaceTypeDefinition
impl !Send for InterfaceTypeDefinition
impl !Sync for InterfaceTypeDefinition
impl Unpin for InterfaceTypeDefinition
impl !UnwindSafe for InterfaceTypeDefinition
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