pub struct CodensityF<F>(/* private fields */)
where
F: HKT + 'static;Expand description
Marker type for Codensity<F, _>.
Note: Cannot implement HKT or Monad due to Rust’s GAT limitations.
Use Codensity::pure, Codensity::fmap, Codensity::chain directly.
Auto Trait Implementations§
impl<F> Freeze for CodensityF<F>
impl<F> RefUnwindSafe for CodensityF<F>where
F: RefUnwindSafe,
impl<F> Send for CodensityF<F>where
F: Send,
impl<F> Sync for CodensityF<F>where
F: Sync,
impl<F> Unpin for CodensityF<F>where
F: Unpin,
impl<F> UnsafeUnpin for CodensityF<F>
impl<F> UnwindSafe for CodensityF<F>where
F: 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