Struct docs::ast::BooleanLiteral
source · pub struct BooleanLiteral {
pub token: Token,
pub value: bool,
}Fields§
§token: Token§value: boolTrait Implementations§
source§impl Clone for BooleanLiteral
impl Clone for BooleanLiteral
source§fn clone(&self) -> BooleanLiteral
fn clone(&self) -> BooleanLiteral
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 BooleanLiteral
impl Debug for BooleanLiteral
source§impl Nodetrait for BooleanLiteral
impl Nodetrait for BooleanLiteral
source§impl PartialEq for BooleanLiteral
impl PartialEq for BooleanLiteral
source§fn eq(&self, other: &BooleanLiteral) -> bool
fn eq(&self, other: &BooleanLiteral) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for BooleanLiteral
Auto Trait Implementations§
impl Freeze for BooleanLiteral
impl RefUnwindSafe for BooleanLiteral
impl Send for BooleanLiteral
impl Sync for BooleanLiteral
impl Unpin for BooleanLiteral
impl UnwindSafe for BooleanLiteral
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