pub type UnitName = NameDef<Unit>;Expand description
Name of a unit (e.g., "m", "km", "hour").
Aliased Type§
pub struct UnitName { /* private fields */ }Trait Implementations§
Source§impl FormatEquivalent for UnitName
impl FormatEquivalent for UnitName
Source§fn format_equivalent(&self, other: &Self) -> bool
fn format_equivalent(&self, other: &Self) -> bool
Returns
true if self and other are equivalent up to formatting.