Crate ilyvion_util[][src]

Ilyvion’s hodgepodge collection of useful utility types and functions.

Modules

cache

Cache implementations based on the Rust book exercises.

color

Deals with conversions between color spaces

file

Useful file utilities

map_any
multi_dimensional

Provides methods for treating a one-dimensional array/slice as if it were a two-dimensional slice.

non_nan

A trait and a type useful for dealing with types with a NaN value. This is f32 and f64.

ownership

Own-borrow types, that lets you use both borrowed and owned values interchangeably. Differs from Cow mainly in that it borrows mutably, and doesn’t convert the borrowed type into the owned type on write.