[][src]Struct mergui::widgets::concealer::ConcealerConfig

pub struct ConcealerConfig<T: PartialEq, R: Sized, W: Widget, E: WidgetConfig<R, W>> {
    pub button: ButtonConfig,
    pub hidden_widgets: Vec<(T, E)>,
    pub to_widget: PhantomData<W>,
    pub to_result: PhantomData<R>,
}

A button that will hide/unhide other widgets when the user clicks on it

Fields

button: ButtonConfig

A button that when clicked will hide/unhide the other widgets

hidden_widgets: Vec<(T, E)>

the widgets that can be hidden or shown

to_widget: PhantomData<W>to_result: PhantomData<R>

Trait Implementations

impl<T: PartialEq, R: Sized, W: Widget, C: WidgetConfig<R, W>> WidgetConfig<ConcealerReturn<T, R>, Concealer<W>> for ConcealerConfig<T, R, W, C>[src]

Auto Trait Implementations

impl<T, R, W, E> !RefUnwindSafe for ConcealerConfig<T, R, W, E>

impl<T, R, W, E> !Send for ConcealerConfig<T, R, W, E>

impl<T, R, W, E> !Sync for ConcealerConfig<T, R, W, E>

impl<T, R, W, E> Unpin for ConcealerConfig<T, R, W, E> where
    E: Unpin,
    R: Unpin,
    T: Unpin,
    W: Unpin

impl<T, R, W, E> !UnwindSafe for ConcealerConfig<T, R, W, E>

Blanket Implementations

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

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

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

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

impl<T, U> Into<U> for T where
    U: From<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.