pub trait PercentFormatIntegerConstructor {
    // Required methods
    fn percent(self) -> Percent;
    fn ppm(self) -> Percent;
}
Expand description

Percent formatted value from integer constructor trait.

Required Methods§

source

fn percent(self) -> Percent

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

source

fn ppm(self) -> Percent

Builds a Percent formatted value from self interpreted as parts per million.

Implementations on Foreign Types§

source§

impl PercentFormatIntegerConstructor for u32

Implementors§