pub trait Quantity { // Required method fn f64(&self) -> f64; }
Must be implemented by all quantity types.