Skip to main content

TileMetaTrait

Trait TileMetaTrait 

Source
pub trait TileMetaTrait:
    Copy
    + Eq
    + Hash
    + Debug
    + 'static { }
Expand description

Marker trait for tile metadata identifiers.

Implementations are typically lightweight enums or numeric IDs representing a specific set of tile collision data (e.g., a tileset’s collision table).

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§