Trait apparat::Wrap[][src]

pub trait Wrap<Wrapper> {
    fn wrap(self) -> Wrapper;
}
Expand description

An alternative to std::Into for turning state types into the respective state wrapper enum. This is preferred over Into because it provides more reliable type inference in the context of apparat.

Required methods

fn wrap(self) -> Wrapper[src]

Implementors