[][src]Struct ommui_frontend_gtk::ui::numeric_parameter_entry::Param

pub struct Param<TR: XTr> {
    pub value: f64,
    pub description: NumericParameterDescription,
    pub profile: NumericProfileParameterDescription,
    pub representation: UnitRepresentationDescription,
    pub translation: TR,
    pub theme_icons: IndexMap<String, Pixbuf>,
}

The parameter passed to the model on creation.

Fields

value: f64

The parameter value.

description: NumericParameterDescription

The description.

profile: NumericProfileParameterDescription

The profile description.

representation: UnitRepresentationDescription

The unit description.

translation: TR

The translation.

theme_icons: IndexMap<String, Pixbuf>

The icon pixbufs.

Trait Implementations

impl<TR: Debug + XTr> Debug for Param<TR>[src]

Auto Trait Implementations

impl<TR> !Send for Param<TR>

impl<TR> !Sync for Param<TR>

impl<TR> Unpin for Param<TR> where
    TR: Unpin

impl<TR> UnwindSafe for Param<TR> where
    TR: UnwindSafe

impl<TR> RefUnwindSafe for Param<TR> where
    TR: RefUnwindSafe

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = !

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Err = <U as TryFrom<T>>::Err

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> SetParameter for T

impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S where
    D: AdaptFrom<S, Swp, Dwp, T>,
    Dwp: WhitePoint,
    Swp: WhitePoint,
    T: Component + Float
[src]