Expand description
Functors in Rust
Traits
- A generic type (e.g.
Vec<A>) whose inner type can be mapped over (e.g. toVec<B>) - Helper trait to convert between
<T as Functor>::MappedandT - Trait
Identity<T>is implemented for allT: Sizedand allows conversion betweenSelfandT - Trait allowing to include concrete types in bounds