Crate fmap

source ·
Expand description

Functors in Rust

Traits

  • A type constructed by a functor (e.g. Option<T> or Vec<T>)
  • Helper trait to convert between T::Mapped and T
  • Trait Identity<T> is implemented for all T: Sized and allows conversion between Self and T
  • Trait allowing to include concrete types in bounds