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