Struct apollo_parser::cst::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 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 CstNode for BooleanValue
impl CstNode 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 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 for BooleanValue
impl PartialEq for BooleanValue
source§fn eq(&self, other: &BooleanValue) -> bool
fn eq(&self, other: &BooleanValue) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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.
impl Eq for BooleanValue
impl StructuralPartialEq for BooleanValue
Auto Trait Implementations§
impl Freeze for BooleanValue
impl !RefUnwindSafe for BooleanValue
impl !Send for BooleanValue
impl !Sync for BooleanValue
impl Unpin for BooleanValue
impl !UnwindSafe for BooleanValue
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