pub struct Int;Expand description
Lean’s Int as crate::Int, which is the Lean object itself where nothing else holds
the object, and a copy of it otherwise.
Trait Implementations§
Source§impl Codec for Int
impl Codec for Int
Source§fn into_lean(value: Int) -> Value<Int>
fn into_lean(value: Int) -> Value<Int>
The Lean value of a Rust value that is given up. What can move is moved.
Source§fn to_lean(value: &Int) -> Value<Int>
fn to_lean(value: &Int) -> Value<Int>
The Lean value of a Rust value that stays with the caller. A copy.
Auto Trait Implementations§
impl Forget for Int
impl Freeze for Int
impl Move for Int
impl RefUnwindSafe for Int
impl Send for Int
impl Sync for Int
impl Unpin for Int
impl UnsafeUnpin for Int
impl UnwindSafe for Int
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