pub fn from<CurrentState>(current_state: CurrentState) -> Self
    where
        CurrentState: Into<Ds>,
    {
        let as_dest: Ds = current_state.into();
        Self::OkNoShare {
            commands: vec![],
            new_state: as_dest,
        }
    }
/// Uses `Into` to produce a transition with no commands from the provided current state to
/// the provided (by type parameter) destination state.
Uses `Into` to produce a transition with no commands from the provided current state to
the provided (by type parameter) destination state.
Uses ` Into ` to produce a transition with no commands from the provided current state to the provided ( by type parameter ) destination state .
pub fn from<CurrentState>(current_state: CurrentState) -> Self
    where
        CurrentState: Into<Ds>,
    {
        let as_dest: Ds = current_state.into();
        Self::OkNoShare {
            commands: vec![],
            new_state: as_dest,
        }
    }
pub fn from < CurrentState > ( current_state : CurrentState ) -> Self where CurrentState : Into < Ds > , { let as_dest : Ds = current_state . into ( ) ; Self :: OkNoShare { commands : vec ! [ ] , new_state : as_dest , } }
Uses `Into` to produce a transition with no commands from the provided current state to
the provided (by type parameter) destination state.
Uses ` Into ` to produce a transition with no commands from the provided current state to the provided ( by type parameter ) destination state .
current_state
CurrentState
current_state
CurrentState