bookdata/util/
mod.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! Various utility modules.
mod accum;
pub mod logging;
pub mod process;
pub mod serde_string;
pub mod timing;
pub mod unicode;

pub use accum::StringAccumulator;
pub use timing::Timer;

/// Free default function for easily constructiong defaults.
pub fn default<T: Default>() -> T {
    T::default()
}