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

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

Trait that provides access to state handle

Associated Types

Loading content...

Required methods

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

Loading content...

Implementors

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

type Handle = H

impl<T, H> SharedState for StateHandle<T, H> where
    T: Default + Clone + 'static,
    H: Handler<Model = T>, 
[src]

type Handle = Self

Loading content...