Expand description
Utilities for working with frunk.
Re-exports§
Modules§
Structs§
- Identity
- Poly
- The Func trait from frunk doesn’t take
self
as a parameter tocall
so there isn’t an easy way to get context from the surrounding scope. Here we define our ownPoly
wrapper andFunc
trait that does takeself
as a parameter so the caller can include whatever context they need.
Traits§
- ForEach
- Func
- MapTo
List - With
Generic - Convenience functions for the caller to map between similarly-shaped types implementing Generic without having to explicitly call Generic::from and Generic::into
- With
Labelled Generic - Convenience functions for the caller to map between similarly-shaped types implementing LabelledGeneric without having to explicitly call LabelledGeneric::from and LabelledGeneric::into