pub struct Bool;Expand description
Lean’s Bool.
Trait Implementations§
Source§impl Codec for Bool
impl Codec for Bool
Source§fn into_lean(v: bool) -> Value<Bool>
fn into_lean(v: bool) -> Value<Bool>
The Lean value of a Rust value that is given up. What can move is moved.
Source§fn to_lean(value: &bool) -> Value<Bool>
fn to_lean(value: &bool) -> Value<Bool>
The Lean value of a Rust value that stays with the caller. A copy.
Auto Trait Implementations§
impl Forget for Bool
impl Freeze for Bool
impl Move for Bool
impl RefUnwindSafe for Bool
impl Send for Bool
impl Sync for Bool
impl Unpin for Bool
impl UnsafeUnpin for Bool
impl UnwindSafe for Bool
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