pub trait ComponentList {
// Required methods
fn get_ids() -> Vec<ComponentId> ⓘ;
fn get_component_values(self) -> Vec<Box<dyn Any>>;
}
Required Methods§
fn get_ids() -> Vec<ComponentId> ⓘ
fn get_component_values(self) -> Vec<Box<dyn Any>>
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.