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

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

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

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.