Struct conrod::graph::UniqueWidgetState [] [src]

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]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.