gstreamer::format

Trait PercentFormatIntegerConstructor

Source
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§