Trait yew_state::handle::SharedState[][src]

pub trait SharedState {
    type Handle: Handle;
    fn handle(&mut self) -> &mut Self::Handle;
}

Associated Types

Loading content...

Required methods

fn handle(&mut self) -> &mut Self::Handle[src]

Loading content...

Implementors

impl<H> SharedState for Props<H> where
    H: Handle + Clone + Default
[src]

type Handle = H

impl<HANDLER> SharedState for StateHandle<HANDLER> where
    HANDLER: StateHandler,
    <HANDLER as StateHandler>::Message: Clone,
    <HANDLER as StateHandler>::Output: Clone,
    <HANDLER as StateHandler>::Input: Clone,
    <HANDLER as StateHandler>::Model: Clone
[src]

type Handle = Self

Loading content...