DefaultUnit

Trait DefaultUnit 

Source
pub trait DefaultUnit {
    const DEFAULT_UNIT: &str;
}

Required Associated Constants§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl DefaultUnit for Area

Source§

const DEFAULT_UNIT: &str = "km²"

Source§

impl DefaultUnit for Compressibility

Source§

const DEFAULT_UNIT: &str = "Pa⁻¹"

Source§

impl DefaultUnit for HydraulicPermeability

Source§

const DEFAULT_UNIT: &str = "mD"

Source§

impl DefaultUnit for Length

Source§

const DEFAULT_UNIT: &str = "km"

Source§

impl DefaultUnit for Mass

Source§

impl DefaultUnit for MolarMass

Source§

const DEFAULT_UNIT: &'static str = "g/mol"

Source§

impl DefaultUnit for Pressure

Source§

const DEFAULT_UNIT: &'static str = "Pa"

Source§

impl DefaultUnit for Ratio

Source§

impl DefaultUnit for ThermodynamicTemperature

Source§

const DEFAULT_UNIT: &'static str = "°C"

Source§

impl DefaultUnit for Time

Source§

const DEFAULT_UNIT: &'static str = "yr"

Source§

impl DefaultUnit for Volume

Source§

const DEFAULT_UNIT: &'static str = "m³"

Implementors§