Trait traffloat_types::units::Unit [−][src]
pub trait Unit: Debug + Clone + Copy + Default + PartialEq + PartialOrd + Serialize + DeserializeOwned {
fn value(self) -> f64;
fn value_mut(&mut self) -> &mut f64;
}
Expand description
A common unit type