Struct apollo_parser::ast::ObjectValue  
source · pub struct ObjectValue { /* private fields */ }Implementations§
source§impl ObjectValue
 
impl ObjectValue
pub fn l_curly_token(&self) -> Option<SyntaxToken<GraphQLLanguage>>
pub fn r_curly_token(&self) -> Option<SyntaxToken<GraphQLLanguage>>
pub fn object_fields(&self) -> AstChildren<ObjectField> ⓘ
Trait Implementations§
source§impl AstNode for ObjectValue
 
impl AstNode for ObjectValue
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 ObjectValue
 
impl Clone for ObjectValue
source§fn clone(&self) -> ObjectValue
 
fn clone(&self) -> ObjectValue
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 ObjectValue
 
impl Debug for ObjectValue
source§impl From<ObjectValue> for Value
 
impl From<ObjectValue> for Value
source§fn from(node: ObjectValue) -> Value
 
fn from(node: ObjectValue) -> Value
Converts to this type from the input type.
source§impl Hash for ObjectValue
 
impl Hash for ObjectValue
source§impl PartialEq<ObjectValue> for ObjectValue
 
impl PartialEq<ObjectValue> for ObjectValue
source§fn eq(&self, other: &ObjectValue) -> bool
 
fn eq(&self, other: &ObjectValue) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.impl Eq for ObjectValue
impl StructuralEq for ObjectValue
impl StructuralPartialEq for ObjectValue
Auto Trait Implementations§
impl !RefUnwindSafe for ObjectValue
impl !Send for ObjectValue
impl !Sync for ObjectValue
impl Unpin for ObjectValue
impl !UnwindSafe for ObjectValue
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