Function captain

Source
fn captain<S: State>() -> impl Action<S>