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<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,
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 more
sourceimpl Debug for Description
impl Debug for Description
sourceimpl Display for Description
impl Display 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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &Description) -> bool
fn ne(&self, other: &Description) -> bool
This method tests for !=
.
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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more