pub trait Unit {
const LABEL: &'static str;
const INVERSE: &'static str;
const S_FACTOR: f64;
fn factor<T: Unit>() -> f64 { ... }
}
Expand description
Unit definition for time
pub trait Unit {
const LABEL: &'static str;
const INVERSE: &'static str;
const S_FACTOR: f64;
fn factor<T: Unit>() -> f64 { ... }
}
Unit definition for time