[][src]Trait atomic_hooks::CloneReactiveState

pub trait CloneReactiveState<T> where
    T: Clone + 'static, 
{ fn get(&self) -> T;
fn soft_get(&self) -> Option<T>; }

Required methods

fn get(&self) -> T

fn soft_get(&self) -> Option<T>

Loading content...

Implementors

impl<T, U, A> CloneReactiveState<T> for ReactiveStateAccess<T, U, A> where
    T: Clone + 'static, 
[src]

fn get(&self) -> T[src]

returns a clone of the stored state panics if not stored.

Loading content...