Struct jsonc_parser::ast::BooleanLit
source · pub struct BooleanLit {
pub range: Range,
pub value: bool,
}
Expand description
Represents a boolean (ex. true
or false
).
Fields§
§range: Range
§value: bool
Trait Implementations§
source§impl Clone for BooleanLit
impl Clone for BooleanLit
source§fn clone(&self) -> BooleanLit
fn clone(&self) -> BooleanLit
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 BooleanLit
impl Debug for BooleanLit
source§impl<'a, 'b> From<&'b BooleanLit> for Node<'a, 'b>
impl<'a, 'b> From<&'b BooleanLit> for Node<'a, 'b>
source§fn from(node: &'b BooleanLit) -> Node<'a, 'b>
fn from(node: &'b BooleanLit) -> Node<'a, 'b>
Converts to this type from the input type.
source§impl PartialEq<BooleanLit> for BooleanLit
impl PartialEq<BooleanLit> for BooleanLit
source§fn 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 ==
.source§impl 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§
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