[][src]Struct nannou::ui::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, Style> Debug for UniqueWidgetState<State, Style> where
    State: Debug + Any,
    Style: Debug + Any
[src]

Auto Trait Implementations

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

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

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

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

Blanket Implementations

impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S where
    D: AdaptFrom<S, Swp, Dwp, T>,
    Dwp: WhitePoint,
    Swp: WhitePoint,
    T: Component + Float
[src]

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, U> ConvertInto<U> for T where
    U: ConvertFrom<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> SetParameter for T

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<V, T> VZip<V> for T where
    V: MultiLane<T>,