pub trait ToKcmc {
type Equivalent;
// Required method
fn to_kcmc(self) -> Self::Equivalent;
}Expand description
Converts a unit from kcl_api to its equivalent for kcmc.
Required Associated Types§
type Equivalent
Required Methods§
Sourcefn to_kcmc(self) -> Self::Equivalent
fn to_kcmc(self) -> Self::Equivalent
Converts this unit of measurement from kcl_api to its equivalent for kcmc.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".