pub trait GenericEvent {
// Required methods
fn is_real(&self) -> bool;
fn is_synthetic(&self) -> bool;
fn time(&self) -> u32;
fn value(&self) -> i16;
}Expand description
Trait common to all events
Required Methods§
Sourcefn is_synthetic(&self) -> bool
fn is_synthetic(&self) -> bool
Returns true if the event is synthetic