Struct apollo_parser::ast::ObjectValue
source · [−]pub struct ObjectValue { /* private fields */ }
Implementations
sourceimpl 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>ⓘNotable traits for AstChildren<N>impl<N: AstNode> Iterator for AstChildren<N> type Item = N;
Trait Implementations
sourceimpl AstNode for ObjectValue
impl AstNode for ObjectValue
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 ObjectValue
impl Clone for ObjectValue
sourcefn clone(&self) -> ObjectValue
fn clone(&self) -> ObjectValue
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 ObjectValue
impl Debug for ObjectValue
sourceimpl Display for ObjectValue
impl Display for ObjectValue
sourceimpl From<ObjectValue> for Value
impl From<ObjectValue> for Value
sourcefn from(node: ObjectValue) -> Value
fn from(node: ObjectValue) -> Value
Converts to this type from the input type.
sourceimpl Hash for ObjectValue
impl Hash for ObjectValue
sourceimpl PartialEq<ObjectValue> for ObjectValue
impl PartialEq<ObjectValue> for ObjectValue
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &ObjectValue) -> bool
fn ne(&self, other: &ObjectValue) -> bool
This method tests for !=
.
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more