pub trait EntityEvent:
Send
+ Sync
+ Debug {
type Id;
// Required methods
fn kind(&self) -> EventKind;
fn entity_id(&self) -> &Self::Id;
}Expand description
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".