gstreamer::format

Trait PercentFormatFloatConstructor

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