1 2 3 4 5 6 7 8 9
pub trait GenericEvent { fn is_real(&self) -> bool; fn is_synthetic(&self) -> bool; fn time(&self) -> u32; fn value(&self) -> i16; }
1 2 3 4 5 6 7 8 9
pub trait GenericEvent { fn is_real(&self) -> bool; fn is_synthetic(&self) -> bool; fn time(&self) -> u32; fn value(&self) -> i16; }