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

pub struct Param<TR: XTr + Clone> {
    pub values: IndexMap<String, Parameter>,
    pub descriptions: IndexMap<String, ParameterDescription>,
    pub profile: IndexMap<String, ProfileParameterDescription>,
    pub units: IndexMap<String, UnitDescription>,
    pub translation: TR,
    pub theme_icons: IndexMap<String, Pixbuf>,
    pub confirm_label: Option<String>,
}

The parameter passed to the model on creation.

Fields

values: IndexMap<String, Parameter>

The parameter values.

descriptions: IndexMap<String, ParameterDescription>

The parameter descriptions.

profile: IndexMap<String, ProfileParameterDescription>

The profile-specific parameter configuration.

units: IndexMap<String, UnitDescription>

The units.

translation: TR

The translation.

theme_icons: IndexMap<String, Pixbuf>

The theme icons.

confirm_label: Option<String>

The confirm button label, if the button one should be shown.

Trait Implementations

impl<TR: Debug + XTr + Clone> 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 = Infallible

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>,