pub trait PercentFormatFloatConstructor {
    // Required method
    fn percent_ratio(self) -> Percent;
}
Expand description

Percent formatted value from float constructor trait.

Required Methods§

source

fn percent_ratio(self) -> Percent

Builds a Percent formatted value from self interpreted as a ratio.

Implementations on Foreign Types§

source§

impl PercentFormatFloatConstructor for f32

Implementors§