[][src]Enum ommui_data::ommui::interface::WidgetDescription

pub enum WidgetDescription {
    TabBook {
        tabs: Vec<Tab>,
        tab_position: TabPosition,
    },
    AlignmentBox {
        orientation: Orientation,
        children: Vec<AlignmentBoxChild>,
    },
    ResultTable {
        filter: IndexMap<String, Parameter>,
    },
    ResultGrid {
        columns: u32,
    },
    StatisticsTable {
        filter: IndexMap<String, Parameter>,
    },
    RatioTable {
        properties: (IndexMap<String, Parameter>, IndexMap<String, Parameter>),
    },
    Curve {
        curve_index: usize,
    },
    PropertiesSelector {
        properties: IndexMap<String, Parameter>,
        child: Option<Box<WidgetDescription>>,
    },
}

Variants

TabBook

Fields of TabBook

tabs: Vec<Tab>tab_position: TabPosition
AlignmentBox

Fields of AlignmentBox

orientation: Orientationchildren: Vec<AlignmentBoxChild>
ResultTable

Fields of ResultTable

filter: IndexMap<String, Parameter>
ResultGrid

Fields of ResultGrid

columns: u32
StatisticsTable

Fields of StatisticsTable

filter: IndexMap<String, Parameter>
RatioTable

Fields of RatioTable

properties: (IndexMap<String, Parameter>, IndexMap<String, Parameter>)
Curve

Fields of Curve

curve_index: usize
PropertiesSelector

Fields of PropertiesSelector

properties: IndexMap<String, Parameter>child: Option<Box<WidgetDescription>>

Trait Implementations

impl Clone for WidgetDescription[src]

impl PartialEq<WidgetDescription> for WidgetDescription[src]

impl Debug for WidgetDescription[src]

impl Serialize for WidgetDescription[src]

impl<'de> Deserialize<'de> for WidgetDescription[src]

Auto Trait Implementations

Blanket Implementations

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

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

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

impl<T> PathLoad for T where
    T: DeserializeOwned
[src]