Trait dimensioned::dimensioned::DimToString
[−]
[src]
pub trait DimToString: Dimension {
fn to_string() -> String;
}This trait allows human-friendly printing of dimensioned objects. It is used to implement the traits in std::fmt.
All types created for a unit system will implement this trait. No other types should implement it.
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