pub trait Enemy { }Expand description
Marks hostile entities, including those outside the Monster hierarchy.
Shared rules use this marker to reject leashing.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".