Trait plasmo::FromFlex

source ·
pub trait FromFlex {
    // Required method
    fn from_flex<Input>(flex: Input) -> Self
       where Input: Into<f32> + Copy;
}
Expand description

Trait to create constant percent values from plain numbers

Required Methods§

source

fn from_flex<Input>(flex: Input) -> Self
where Input: Into<f32> + Copy,

Converts into an Into<f32> into Self

Object Safety§

This trait is not object safe.

Implementors§