Struct apollo_parser::ast::DefaultValue
source · pub struct DefaultValue { /* private fields */ }
Implementations§
Trait Implementations§
source§impl AstNode for DefaultValue
impl AstNode for DefaultValue
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,
source§impl Clone for DefaultValue
impl Clone for DefaultValue
source§fn clone(&self) -> DefaultValue
fn clone(&self) -> DefaultValue
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for DefaultValue
impl Debug for DefaultValue
source§impl Hash for DefaultValue
impl Hash for DefaultValue
source§impl PartialEq<DefaultValue> for DefaultValue
impl PartialEq<DefaultValue> for DefaultValue
source§fn eq(&self, other: &DefaultValue) -> bool
fn eq(&self, other: &DefaultValue) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for DefaultValue
impl StructuralEq for DefaultValue
impl StructuralPartialEq for DefaultValue
Auto Trait Implementations§
impl !RefUnwindSafe for DefaultValue
impl !Send for DefaultValue
impl !Sync for DefaultValue
impl Unpin for DefaultValue
impl !UnwindSafe for DefaultValue
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more