pub struct ReaderMonad<R: Clone, A: Clone> {
pub description: String,
/* private fields */
}Expand description
Reader monad: Reader r a = r -> a.
Fields§
§description: StringImplementations§
Trait Implementations§
Auto Trait Implementations§
impl<R, A> Freeze for ReaderMonad<R, A>
impl<R, A> RefUnwindSafe for ReaderMonad<R, A>where
R: RefUnwindSafe,
A: RefUnwindSafe,
impl<R, A> Send for ReaderMonad<R, A>
impl<R, A> Sync for ReaderMonad<R, A>
impl<R, A> Unpin for ReaderMonad<R, A>
impl<R, A> UnsafeUnpin for ReaderMonad<R, A>
impl<R, A> UnwindSafe for ReaderMonad<R, A>where
R: UnwindSafe,
A: 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