Module utils

Source
Expand description

This module contains a lot of utility functions that are meant to:

  1. Increase the ergonomics of using wrapped values in Rust
  2. Colorizing console output.
  3. Easy to work w/ lazy hash maps.
  4. Easy to work w/ readline.
  5. Interrogation of types.

Re-exports§

pub use lazy_field::*;
pub use lazy_hash_map::*;
pub use safe_unwrap::*;
pub use type_utils::*;

Modules§

lazy_field
lazy_hash_map
Data structures to make it easier to work w/ lazily computed values and caching them.
safe_unwrap
Functions that make it easy to unwrap a value safely.
type_utils
Helper methods to with with the type system.