stateforward-sml 1.2.0

sml.rs: a no-std Rust implementation of the sml.cpp transition-table DSL
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use sml::sml;

struct Operation<T>(T);

sml! {
    MutableCompletion<'event, T: Clone + 'event> {
        *Idle + event<&'event mut Operation<T>> = Finishing,
         Finishing + completion<Operation> = X,
    }
}

fn main() {}