Struct apollo_parser::ast::BooleanValue  
source · pub struct BooleanValue { /* private fields */ }Implementations§
source§impl BooleanValue
 
impl BooleanValue
pub fn true_token(&self) -> Option<SyntaxToken<GraphQLLanguage>>
pub fn false_token(&self) -> Option<SyntaxToken<GraphQLLanguage>>
Trait Implementations§
source§impl 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,
source§impl Clone for BooleanValue
 
impl Clone for BooleanValue
source§fn clone(&self) -> BooleanValue
 
fn clone(&self) -> BooleanValue
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 BooleanValue
 
impl Debug for BooleanValue
source§impl From<BooleanValue> for Value
 
impl From<BooleanValue> for Value
source§fn from(node: BooleanValue) -> Value
 
fn from(node: BooleanValue) -> Value
Converts to this type from the input type.
source§impl Hash for BooleanValue
 
impl Hash for BooleanValue
source§impl PartialEq<BooleanValue> for BooleanValue
 
impl PartialEq<BooleanValue> for BooleanValue
source§fn eq(&self, other: &BooleanValue) -> bool
 
fn eq(&self, other: &BooleanValue) -> bool
source§impl TryFrom<&BooleanValue> for bool
 
impl TryFrom<&BooleanValue> for bool
§type Error = ParseBoolError
 
type Error = ParseBoolError
The type returned in the event of a conversion error.
source§impl TryFrom<BooleanValue> for bool
 
impl TryFrom<BooleanValue> for bool
§type Error = ParseBoolError
 
type Error = ParseBoolError
The type returned in the event of a conversion error.