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.