pub trait PercentFormatFloatConstructor {
// Required method
fn percent_ratio(self) -> Percent;
}
Expand description
Percent
formatted value from float constructor trait.
Required Methods§
sourcefn percent_ratio(self) -> Percent
fn percent_ratio(self) -> Percent
Builds a Percent
formatted value from self
interpreted as a ratio.