Struct apollo_parser::ast::Directive
source · pub struct Directive { /* private fields */ }
Implementations§
Trait Implementations§
source§impl AstNode for Directive
impl AstNode for Directive
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 PartialEq<Directive> for Directive
impl PartialEq<Directive> for Directive
impl Eq for Directive
impl StructuralEq for Directive
impl StructuralPartialEq for Directive
Auto Trait Implementations§
impl !RefUnwindSafe for Directive
impl !Send for Directive
impl !Sync for Directive
impl Unpin for Directive
impl !UnwindSafe for Directive
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