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