pub trait MapTrait:
Copy
+ Eq
+ Hash
+ Debug
+ 'static { }Expand description
Marker trait for map identifiers.
Implementations are typically lightweight enums or numeric IDs that uniquely identify a map in the game world. Maps are copied frequently during transitions and connection lookups, so they must be cheap to clone.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".