Module utils

Module utils 

Source

Modules§

iter
Extension traits for Iterator and IntoIterator.
nanoid
slice
Types allowing for the ‘lazy’ slicing of &strs while keeping a single lifetime.
vec_map
A Vec backed map implementation.

Macros§

try_res_opt
A try! like macro for Result<Option<_>, _>s.

Traits§

BoolExt
Various extensions to the bool primitive.
HashMapExt
Extension trait that contains functions that allow for chaining of HashMap functions.
IntoOption
Wrap Self in a Option based off a predicate.
IntoResult
Wrap Self in a Result based off a predicate.
OptionExt
Various extensions to Option.
PeekOption
Peep, but specifically for Option’s.
Peep
This trait allows for ‘peeping’ at values in chained function calls.
PeepResult
Peep, but specifically for Result’s.
StringExt
An extension to String allowing for inline trimming.
VecExt
Extension trait that contains functions that allow for chaining of Vec.
Wrap
A trait that allows for creating ‘builder’ like chains of function calls.