Trait agent_tk::states::StateTrait

source ·
pub trait StateTrait {
    // Required method
    fn to_state(self) -> State;
}
Expand description

Trait to conveniently build a State from one of the possible states

Required Methods§

source

fn to_state(self) -> State

Convert to a State enum

Implementors§