pub trait Event: 'static {
// Provided methods
fn cancellable(&self) -> bool { ... }
fn cancelled(&self) -> bool { ... }
fn set_cancelled(&mut self, _cancel: bool) { ... }
fn cancel(&mut self) { ... }
}pub trait Event: 'static {
// Provided methods
fn cancellable(&self) -> bool { ... }
fn cancelled(&self) -> bool { ... }
fn set_cancelled(&mut self, _cancel: bool) { ... }
fn cancel(&mut self) { ... }
}