Struct statemachine_rs::machine::builder::BasicStateMachineBuilder[][src]

pub struct BasicStateMachineBuilder<State, Input, Transition> where
    Transition: Fn(&State, Input) -> State,
    State: Clone
{ /* fields omitted */ }

This builder enables us to assemble StateMachine (like crate::machine::BasicStateMachine) more easily.

Trait Implementations

impl<State, Input, Transition> Default for BasicStateMachineBuilder<State, Input, Transition> where
    Transition: Fn(&State, Input) -> State,
    State: Clone
[src]

impl<State, Input, Transition> StateMachineBuilder<State, Input, Transition> for BasicStateMachineBuilder<State, Input, Transition> where
    Transition: Fn(&State, Input) -> State,
    State: Clone
[src]

type Output = BasicStateMachine<State, Input, Transition>

Auto Trait Implementations

impl<State, Input, Transition> RefUnwindSafe for BasicStateMachineBuilder<State, Input, Transition> where
    Input: RefUnwindSafe,
    State: RefUnwindSafe,
    Transition: RefUnwindSafe
[src]

impl<State, Input, Transition> Send for BasicStateMachineBuilder<State, Input, Transition> where
    Input: Send,
    State: Send,
    Transition: Send
[src]

impl<State, Input, Transition> Sync for BasicStateMachineBuilder<State, Input, Transition> where
    Input: Sync,
    State: Sync,
    Transition: Sync
[src]

impl<State, Input, Transition> Unpin for BasicStateMachineBuilder<State, Input, Transition> where
    Input: Unpin,
    State: Unpin,
    Transition: Unpin
[src]

impl<State, Input, Transition> UnwindSafe for BasicStateMachineBuilder<State, Input, Transition> where
    Input: UnwindSafe,
    State: UnwindSafe,
    Transition: UnwindSafe
[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.