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

pub struct Concealer<W: Widget> {
    pub hidden_widgets: Vec<W>,
    pub button: Button,
    pub is_concealing: Rc<RefCell<bool>>,
}

Fields

hidden_widgets: Vec<W>button: Buttonis_concealing: Rc<RefCell<bool>>

Implementations

impl<W: Widget> Concealer<W>[src]

pub fn set_concealing(&mut self, state: bool)[src]

Trait Implementations

impl<W: Widget> Widget for Concealer<W>[src]

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<W> !RefUnwindSafe for Concealer<W>

impl<W> !Send for Concealer<W>

impl<W> !Sync for Concealer<W>

impl<W> Unpin for Concealer<W> where
    W: Unpin

impl<W> !UnwindSafe for Concealer<W>

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.