Skip to main content

oak_type/
mapper.rs

1/// Defines what behavior _B_ should be associated to signal _S_
2pub trait MappingConfigurator<S, B>
3{
4    //todo should this return Option<B>
5    fn configure(&self, signal: S, behavior: B) -> fn(S) -> B;
6}