pub trait Catalog: Sized {
// Required method
fn catalog() -> Vec<Self>;
}Expand description
Every value the engine proves it can build before the first frame.
derive(Catalog) writes this for a mesh type
or a sound vocabulary. One that a game writes itself must return every
value that reads from Assets.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".