pub trait Component: 'static + Sized + Send + Sync {
    type Storage: for<'a> ComponentStorage<'a, Self>;
}
Expand description

A marker trait for all types which can be attached to an entity.

This trait has a blanket impl for all applicable types.

Associated Types

The storage type required to hold all instances of this component in a world.

Implementors