Skip to main content

Event

Trait Event 

Source
pub trait Event:
    Send
    + Sync
    + 'static {
    // Required method
    fn name(&self) -> &'static str;
}
Expand description

Typed application event.

Required Methods§

Source

fn name(&self) -> &'static str

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§