Struct apollo_parser::ast::ScalarTypeExtension
source · pub struct ScalarTypeExtension { /* private fields */ }
Implementations
sourceimpl ScalarTypeExtension
impl ScalarTypeExtension
pub fn extend_token(&self) -> Option<SyntaxToken<GraphQLLanguage>>
pub fn scalar_token(&self) -> Option<SyntaxToken<GraphQLLanguage>>
pub fn name(&self) -> Option<Name>
pub fn directives(&self) -> Option<Directives>
Trait Implementations
sourceimpl AstNode for ScalarTypeExtension
impl AstNode for ScalarTypeExtension
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,
sourceimpl Clone for ScalarTypeExtension
impl Clone for ScalarTypeExtension
sourcefn clone(&self) -> ScalarTypeExtension
fn clone(&self) -> ScalarTypeExtension
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ScalarTypeExtension
impl Debug for ScalarTypeExtension
sourceimpl From<ScalarTypeExtension> for Definition
impl From<ScalarTypeExtension> for Definition
sourcefn from(node: ScalarTypeExtension) -> Definition
fn from(node: ScalarTypeExtension) -> Definition
Converts to this type from the input type.
sourceimpl Hash for ScalarTypeExtension
impl Hash for ScalarTypeExtension
sourceimpl PartialEq<ScalarTypeExtension> for ScalarTypeExtension
impl PartialEq<ScalarTypeExtension> for ScalarTypeExtension
sourcefn eq(&self, other: &ScalarTypeExtension) -> bool
fn eq(&self, other: &ScalarTypeExtension) -> bool
impl Eq for ScalarTypeExtension
impl StructuralEq for ScalarTypeExtension
impl StructuralPartialEq for ScalarTypeExtension
Auto Trait Implementations
impl !RefUnwindSafe for ScalarTypeExtension
impl !Send for ScalarTypeExtension
impl !Sync for ScalarTypeExtension
impl Unpin for ScalarTypeExtension
impl !UnwindSafe for ScalarTypeExtension
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