pub struct ReaderTF<E, M>(/* private fields */);Expand description
ReaderT monad transformer: adds environment-passing to an inner monad.
ReaderTF<E, M>::Of<A> = Box<dyn Fn(E) -> M::Of<A>>
When the inner monad is IdentityF, this is equivalent to ReaderF<E>.
Trait Implementations§
Auto Trait Implementations§
impl<E, M> Freeze for ReaderTF<E, M>
impl<E, M> RefUnwindSafe for ReaderTF<E, M>where
E: RefUnwindSafe,
M: RefUnwindSafe,
impl<E, M> Send for ReaderTF<E, M>
impl<E, M> Sync for ReaderTF<E, M>
impl<E, M> Unpin for ReaderTF<E, M>
impl<E, M> UnsafeUnpin for ReaderTF<E, M>
impl<E, M> UnwindSafe for ReaderTF<E, M>where
E: UnwindSafe,
M: 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