daedelecs 0.1.0

A Memory Safe, Type-Checked ECS System written in Rust
Documentation
1
2
3
4
5
6
7
use std::any::Any;

/// This trait is required to act as a Component in the ECS. 
/// This trait also implements Any meaning all stored references must have the lifetime of
/// `'static`. Use the macro `#[derive(Component)]` provided in `daedelecs-core`
/// to easily implement this trait.
pub trait Component: Any {}