[][src]Struct conrod_core::graph::UniqueWidgetState

pub struct UniqueWidgetState<State, Style> where
    State: Any,
    Style: Any
{ pub state: State, pub style: Style, }

The state type that we'll dynamically cast to and from Any for storage within the cache.

Fields

state: State

A Widget's unique "State".

style: Style

A Widget's unique "Style".

Trait Implementations

impl<State: Debug, Style: Debug> Debug for UniqueWidgetState<State, Style> where
    State: Any,
    Style: Any
[src]

Auto Trait Implementations

impl<State, Style> Send for UniqueWidgetState<State, Style> where
    State: Send,
    Style: Send

impl<State, Style> Sync for UniqueWidgetState<State, Style> where
    State: Sync,
    Style: Sync

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]