pub struct boolean;Expand description
The type of the truth values true and false.
Only false and nil are treated as false in conditions; everything
else — including 0 and the empty string — is true.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for boolean
impl RefUnwindSafe for boolean
impl Send for boolean
impl Sync for boolean
impl Unpin for boolean
impl UnsafeUnpin for boolean
impl UnwindSafe for boolean
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