Struct apollo_parser::ast::BooleanValue
source · pub struct BooleanValue { /* private fields */ }
Implementations
sourceimpl BooleanValue
impl BooleanValue
pub fn true_token(&self) -> Option<SyntaxToken<GraphQLLanguage>>
pub fn false_token(&self) -> Option<SyntaxToken<GraphQLLanguage>>
Trait Implementations
sourceimpl AstNode for BooleanValue
impl AstNode for BooleanValue
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,
sourceimpl Clone for BooleanValue
impl Clone for BooleanValue
sourcefn clone(&self) -> BooleanValue
fn clone(&self) -> BooleanValue
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 moresourceimpl Debug for BooleanValue
impl Debug for BooleanValue
sourceimpl From<&BooleanValue> for bool
impl From<&BooleanValue> for bool
sourcefn from(val: &BooleanValue) -> Self
fn from(val: &BooleanValue) -> Self
Converts to this type from the input type.
sourceimpl From<BooleanValue> for Value
impl From<BooleanValue> for Value
sourcefn from(node: BooleanValue) -> Value
fn from(node: BooleanValue) -> Value
Converts to this type from the input type.
sourceimpl From<BooleanValue> for bool
impl From<BooleanValue> for bool
sourcefn from(val: BooleanValue) -> Self
fn from(val: BooleanValue) -> Self
Converts to this type from the input type.
sourceimpl Hash for BooleanValue
impl Hash for BooleanValue
sourceimpl PartialEq<BooleanValue> for BooleanValue
impl PartialEq<BooleanValue> for BooleanValue
sourcefn eq(&self, other: &BooleanValue) -> bool
fn eq(&self, other: &BooleanValue) -> bool
impl Eq for BooleanValue
impl StructuralEq for BooleanValue
impl StructuralPartialEq for BooleanValue
Auto Trait Implementations
impl !RefUnwindSafe for BooleanValue
impl !Send for BooleanValue
impl !Sync for BooleanValue
impl Unpin for BooleanValue
impl !UnwindSafe for BooleanValue
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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