Struct apollo_parser::ast::Alias
source · [−]pub struct Alias { /* private fields */ }
Implementations
sourceimpl Alias
impl Alias
pub fn name(&self) -> Option<Name>
pub fn colon_token(&self) -> Option<SyntaxToken<GraphQLLanguage>>
Trait Implementations
sourceimpl AstNode for Alias
impl AstNode for Alias
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,
impl Eq for Alias
impl StructuralEq for Alias
impl StructuralPartialEq for Alias
Auto Trait Implementations
impl !RefUnwindSafe for Alias
impl !Send for Alias
impl !Sync for Alias
impl Unpin for Alias
impl !UnwindSafe for Alias
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more