[][src]Trait polyhorn_core::UseState

pub trait UseState {
    pub fn use_state<S>(&mut self, key: Key, initial_value: S) -> State<S>
    where
        S: Serialize + for<'b> Deserialize<'b> + 'static
; }

Required methods

pub fn use_state<S>(&mut self, key: Key, initial_value: S) -> State<S> where
    S: Serialize + for<'b> Deserialize<'b> + 'static, 
[src]

Loading content...

Implementors

impl<'a, P: ?Sized> UseState for Manager<'a, P> where
    P: Platform
[src]

Loading content...