Struct apollo_parser::ast::Description
source · [−]pub struct Description { /* private fields */ }
Implementations
sourceimpl Description
impl Description
pub fn string_value(&self) -> Option<StringValue>
Trait Implementations
sourceimpl AstNode for Description
impl AstNode for Description
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 Description
impl Clone for Description
sourcefn clone(&self) -> Description
fn clone(&self) -> Description
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 Description
impl Debug for Description
sourceimpl Hash for Description
impl Hash for Description
sourceimpl PartialEq<Description> for Description
impl PartialEq<Description> for Description
sourcefn eq(&self, other: &Description) -> bool
fn eq(&self, other: &Description) -> bool
impl Eq for Description
impl StructuralEq for Description
impl StructuralPartialEq for Description
Auto Trait Implementations
impl !RefUnwindSafe for Description
impl !Send for Description
impl !Sync for Description
impl Unpin for Description
impl !UnwindSafe for Description
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