pub trait ChannelEvent {
// Required methods
fn channel(&self) -> u8;
fn channel_mut(&mut self) -> &mut u8;
}
Expand description
A trait that describes an event that is always connected to a channel
pub trait ChannelEvent {
// Required methods
fn channel(&self) -> u8;
fn channel_mut(&mut self) -> &mut u8;
}
A trait that describes an event that is always connected to a channel