pub trait FactorUnits {
// Required methods
fn pct(self) -> FactorPercent;
fn fct(self) -> Factor;
}Expand description
Required Methods§
Sourcefn pct(self) -> FactorPercent
fn pct(self) -> FactorPercent
Percent factor.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".