pub struct Plain<T>(/* private fields */);Expand description
A type whose Lean counterpart follows from the Rust type: the scalars, Nat, Int,
String.
Trait Implementations§
Auto Trait Implementations§
impl<T> Forget for Plain<T>
impl<T> Freeze for Plain<T>where
PhantomData<T>: Freeze,
impl<T> Move for Plain<T>
impl<T> RefUnwindSafe for Plain<T>where
T: RefUnwindSafe,
impl<T> Send for Plain<T>where
T: Send,
impl<T> Sync for Plain<T>where
T: Sync,
impl<T> Unpin for Plain<T>where
T: Unpin,
impl<T> UnsafeUnpin for Plain<T>where
PhantomData<T>: UnsafeUnpin,
impl<T> UnwindSafe for Plain<T>where
T: UnwindSafe,
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