pub trait AssetKind: Sized + 'static {
const NAME: &'static str;
}Expand description
A kind of asset: the plain type a Format reads into. The engine’s
kinds are its own types (ImageInfo, PaletteDef, DialogueFile…);
a game makes one of each of its data tables.
Required Associated Constants§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementors§
Source§impl AssetKind for TerrainTiles
The tileset kind (ADR-0007), with no format of the engine’s: how a
game writes its tiles is its own, and its format reads them into this.
impl AssetKind for TerrainTiles
The tileset kind (ADR-0007), with no format of the engine’s: how a game writes its tiles is its own, and its format reads them into this.