[][src]Trait seed_hooks::CloneState

pub trait CloneState<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> CloneState<T> for StateAccess<T> where
    T: Clone + 'static, 
[src]

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

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

Loading content...