Struct kas_theme::MultiTheme[][src]

pub struct MultiTheme<Draw> { /* fields omitted */ }

Wrapper around mutliple themes, supporting run-time switching

Feature gated: this is only available with feature stack_dst.

Implementations

impl<Draw> MultiTheme<Draw>[src]

pub fn builder() -> MultiThemeBuilder<Draw>[src]

Construct with builder pattern

Trait Implementations

impl<D: DrawShared + 'static> Theme<D> for MultiTheme<D>[src]

type Window = StackDst<dyn WindowDst>

The associated Window implementation.

type DrawHandle = StackDst<dyn DrawHandle>

The associated DrawHandle implementation.

impl<Draw> ThemeApi for MultiTheme<Draw>[src]

Auto Trait Implementations

impl<Draw> !RefUnwindSafe for MultiTheme<Draw>

impl<Draw> !Send for MultiTheme<Draw>

impl<Draw> !Sync for MultiTheme<Draw>

impl<Draw> Unpin for MultiTheme<Draw>

impl<Draw> !UnwindSafe for MultiTheme<Draw>

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<S, T> Cast<T> for S where
    T: Conv<S>, 

impl<S, T> CastFloat<T> for S where
    T: ConvFloat<S>, 

impl<T> Conv<T> for T

impl<'a, T, X> Filter<&'a T> for X where
    T: Clone,
    X: Filter<T>, 
[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.