Struct jsonc_parser::ast::BooleanLit
source · [−]Expand description
Represents a boolean (ex. true
or false
).
Fields
range: Range
value: bool
Trait Implementations
sourceimpl Clone for BooleanLit
impl Clone for BooleanLit
sourcefn clone(&self) -> BooleanLit
fn clone(&self) -> BooleanLit
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 BooleanLit
impl Debug for BooleanLit
sourceimpl<'a, 'b> From<&'b BooleanLit> for Node<'a, 'b>
impl<'a, 'b> From<&'b BooleanLit> for Node<'a, 'b>
sourcefn from(node: &'b BooleanLit) -> Node<'a, 'b>
fn from(node: &'b BooleanLit) -> Node<'a, 'b>
Converts to this type from the input type.
sourceimpl PartialEq<BooleanLit> for BooleanLit
impl PartialEq<BooleanLit> for BooleanLit
sourcefn eq(&self, other: &BooleanLit) -> bool
fn eq(&self, other: &BooleanLit) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &BooleanLit) -> bool
fn ne(&self, other: &BooleanLit) -> bool
This method tests for !=
.
sourceimpl Ranged for BooleanLit
impl Ranged for BooleanLit
impl StructuralPartialEq for BooleanLit
Auto Trait Implementations
impl RefUnwindSafe for BooleanLit
impl Send for BooleanLit
impl Sync for BooleanLit
impl Unpin for BooleanLit
impl UnwindSafe for BooleanLit
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