Struct apollo_parser::ast::ObjectField
source · pub struct ObjectField { /* private fields */ }
Implementations§
source§impl ObjectField
impl ObjectField
Trait Implementations§
source§impl AstNode for ObjectField
impl AstNode for ObjectField
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 ObjectField
impl Clone for ObjectField
source§fn clone(&self) -> ObjectField
fn clone(&self) -> ObjectField
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 ObjectField
impl Debug for ObjectField
source§impl Hash for ObjectField
impl Hash for ObjectField
source§impl PartialEq<ObjectField> for ObjectField
impl PartialEq<ObjectField> for ObjectField
source§fn eq(&self, other: &ObjectField) -> bool
fn eq(&self, other: &ObjectField) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ObjectField
impl StructuralEq for ObjectField
impl StructuralPartialEq for ObjectField
Auto Trait Implementations§
impl !RefUnwindSafe for ObjectField
impl !Send for ObjectField
impl !Sync for ObjectField
impl Unpin for ObjectField
impl !UnwindSafe for ObjectField
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