Crate ilyvion_util
source ·Expand description
Ilyvion’s hodgepodge collection of useful utility types and functions.
Modules
- Cache implementations based on the Rust book exercises.
- chrono
chronoVarious chrono utilities - Deals with conversions between color spaces
- environment
environmentProvides a macro to help with using environment variables more ergonomically. - Useful file utilities
- Various
Iteratorextensions - Adds a
map()method to any type, allowing for inline conversion from one type to another. - A trait and a type useful for dealing with types with a
NaNvalue. This isf32andf64. - ownership
borrownedOwn-borrow types, that lets you use both borrowed and owned values interchangeably. Differs fromCowmainly in that it borrows mutably, and doesn’t convert the borrowed type into the owned type on write. - permutation
permutationFunctionality for generating permutations