Trait crayon::ecs::component::Component [] [src]

pub trait Component: Any + 'static where
    Self: Sized
{ type Storage: ComponentArena<Self> + Any + Send + Sync; fn type_index() -> usize; }

Abstract component trait with associated storage type.

Associated Types

Required Methods

Implementors