ecsilarant 0.1.0

Sketch of an ECS for the future
Documentation
mod split_world;

use crate::cons::{Cons, Empty};
use crate::storage::world::archetype_storage::ArchetypeStorage;

type WorldViewStorage<Head, Tail> = Cons<Head, Tail>;

// WorldView is a cons of mutable references of archetype storage.
trait WorldView<'a> {}

impl<'a, HeadArchetypeStorage : ArchetypeStorage<'a>, Tail : WorldView<'a>>
WorldView<'a> for
WorldViewStorage<& mut HeadArchetypeStorage, Tail>
{}

impl<'a>
WorldView<'a> for
Empty
{}