Trait dimensioned::dimensioned::DimToString
[−]
[src]
pub trait DimToString: Dimension {
fn to_string() -> String;
}This trait gives a human-friendly representation of a dimensioned object. It is useful for printing and debugging.
Required Methods
Implementors
impl<Meter, Kilogram, Second, Ampere, Kelvin, Candela, Mole> DimToString for SI<Meter, Kilogram, Second, Ampere, Kelvin, Candela, Mole> where Meter: ToInt, Kilogram: ToInt, Second: ToInt, Ampere: ToInt, Kelvin: ToInt, Candela: ToInt, Mole: ToIntimpl<Centimeter, Gram, Second> DimToString for CGS<Centimeter, Gram, Second> where Centimeter: ToInt, Gram: ToInt, Second: ToInt