pub struct DirectiveExtension { /* private fields */ }Implementations§
Source§impl DirectiveExtension
impl DirectiveExtension
pub fn extend_token(&self) -> Option<SyntaxToken>
pub fn directive_token(&self) -> Option<SyntaxToken>
pub fn at_token(&self) -> Option<SyntaxToken>
pub fn name(&self) -> Option<Name>
pub fn directives(&self) -> Option<Directives>
Trait Implementations§
Source§impl Clone for DirectiveExtension
impl Clone for DirectiveExtension
Source§impl CstNode for DirectiveExtension
impl CstNode for DirectiveExtension
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 DirectiveExtension
impl Debug for DirectiveExtension
impl Eq for DirectiveExtension
Source§impl From<DirectiveExtension> for Definition
impl From<DirectiveExtension> for Definition
Source§fn from(node: DirectiveExtension) -> Definition
fn from(node: DirectiveExtension) -> Definition
Converts to this type from the input type.
Source§impl Hash for DirectiveExtension
impl Hash for DirectiveExtension
Source§impl PartialEq for DirectiveExtension
impl PartialEq for DirectiveExtension
impl StructuralPartialEq for DirectiveExtension
Auto Trait Implementations§
impl !RefUnwindSafe for DirectiveExtension
impl !Send for DirectiveExtension
impl !Sync for DirectiveExtension
impl !UnwindSafe for DirectiveExtension
impl Freeze for DirectiveExtension
impl Unpin for DirectiveExtension
impl UnsafeUnpin for DirectiveExtension
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