oak_type/
inputs.rs

1mod analog;
2pub mod binary;
3mod matrix;
4mod multiplex;
5
6pub trait Input
7{
8    type Signal;
9
10    fn get_input(&self) -> Self::Signal;
11}
12
13pub trait InputConfig<S> {}
14
15pub trait InputMapper<T, S>
16    where
17        T: InputConfig<S>,
18{
19    fn configure(&self, foo: T) -> fn() -> S;
20}