pub struct BooleanLiteral {
pub value: bool,
}Expand description
A boolean literal
Fields§
§value: boolThe value of the literal
Implementations§
Trait Implementations§
Source§impl Clone for BooleanLiteral
impl Clone for BooleanLiteral
Source§fn clone(&self) -> BooleanLiteral
fn clone(&self) -> BooleanLiteral
Returns a duplicate 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 Default for BooleanLiteral
impl Default for BooleanLiteral
Source§fn default() -> BooleanLiteral
fn default() -> BooleanLiteral
Returns the “default value” for a type. Read more
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