widgetry::mapspace

Trait ObjectID

Source
pub trait ObjectID:
    Clone
    + Copy
    + Debug
    + Eq
    + Hash { }
Expand description

Objects in a World are uniquely identified by this caller-specified type

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl ObjectID for DummyID

impl ObjectID for ID

impl ObjectID for ID

impl ObjectID for Obj

impl ObjectID for MarkerID

impl ObjectID for ID

impl ObjectID for Obj

impl ObjectID for Obj

impl ObjectID for Obj

impl ObjectID for Obj

impl ObjectID for BlockID

impl ObjectID for NeighbourhoodID

impl ObjectID for ZoneID

impl ObjectID for ID

impl ObjectID for Obj

impl ObjectID for Obj

impl ObjectID for WaypointID