pub struct MonadLeftIdentity;Expand description
pure(a) >>= f == f(a).
Trait Implementations§
impl Implies<MonadLeftIdentity> for IsLawfulMonad
Auto Trait Implementations§
impl Freeze for MonadLeftIdentity
impl RefUnwindSafe for MonadLeftIdentity
impl Send for MonadLeftIdentity
impl Sync for MonadLeftIdentity
impl Unpin for MonadLeftIdentity
impl UnsafeUnpin for MonadLeftIdentity
impl UnwindSafe for MonadLeftIdentity
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