#nested #extension #structures #traits #options #boilerplate #flatten

unflatter

unflatter is a Rust library providing extension traits for flattening and unwrapping nested structures, including nested Option and Result types. It simplifies working with deeply nested values by providing convenient methods to flatten and unwrap them, reducing boilerplate code.

2 releases

0.1.1 Jan 21, 2024
0.1.0 Jan 21, 2024

#2417 in Data structures

MIT license

28KB
352 lines

unflatter

Extension traits for unwrapping arbitrary levels of nesting in Results and Options.

No runtime deps