Expand description
Utilities for working with frunk.
Re-exports§
Modules§
Macros§
- cons_
list - Recursively expands to nested
ConsList::cons(…)calls. - impl_
add - impl_
add_ assign - impl_
add_ assign_ offset - impl_
add_ offset - impl_
div - impl_
div_ assign - impl_
div_ assign_ scalar - impl_
div_ scalar - impl_
mul - impl_
mul_ assign - impl_
mul_ assign_ scalar - impl_
mul_ scalar - impl_
neg - impl_
rem - impl_
rem_ assign - impl_
rem_ assign_ scalar - impl_
rem_ scalar - impl_
sub - impl_
sub_ assign - impl_
sub_ assign_ offset - impl_
sub_ offset
Structs§
- Identity
- Poly
- The Func trait from frunk doesn’t take
selfas a parameter tocallso there isn’t an easy way to get context from the surrounding scope. Here we define our ownPolywrapper andFunctrait that does takeselfas 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