pub trait StateInterface: Send + Sync + Clonewhere
    Self: Sized,{
    type UserData: Clone;

    // Required method
    fn new(_: Self::UserData) -> Self
       where Self: Sized;
}

Required Associated Types§

Required Methods§

source

fn new(_: Self::UserData) -> Selfwhere Self: Sized,

Implementations on Foreign Types§

source§

impl StateInterface for ()

§

type UserData = ()

source§

fn new(_: Self::UserData) -> Selfwhere Self: Sized,

Implementors§