brood 0.9.1

A fast and flexible entity component system library.
Documentation
1
2
3
4
5
6
7
8
use crate::{
    archetype::Archetype,
    registry::Registry,
};

// SAFETY: This type is safe to send between threads, since the pointers to its columns are
// uniquely owned and cannot be mutated without mutable access to the type.
unsafe impl<R> Send for Archetype<R> where R: Registry {}