Struct apollo_parser::ast::Variable
source · [−]pub struct Variable { /* private fields */ }
Implementations
sourceimpl Variable
impl Variable
pub fn dollar_token(&self) -> Option<SyntaxToken<GraphQLLanguage>>
pub fn name(&self) -> Option<Name>
Trait Implementations
sourceimpl AstNode for Variable
impl AstNode for Variable
fn can_cast(kind: SyntaxKind) -> bool
fn cast(syntax: SyntaxNode<GraphQLLanguage>) -> Option<Self>
fn syntax(&self) -> &SyntaxNode<GraphQLLanguage>
fn clone_for_update(&self) -> Self where
Self: Sized,
fn clone_subtree(&self) -> Self where
Self: Sized,
impl Eq for Variable
impl StructuralEq for Variable
impl StructuralPartialEq for Variable
Auto Trait Implementations
impl !RefUnwindSafe for Variable
impl !Send for Variable
impl !Sync for Variable
impl Unpin for Variable
impl !UnwindSafe for Variable
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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