hecs 0.11.0

A fast, minimal, and ergonomic entity-component-system library
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use hecs::Query;

#[derive(Query)]
struct Foo<'a> {
    foo: &'a i32,
    bar: &'static mut bool,
}

#[derive(Query)]
enum Bar<'a> {
    Foo(&'a i32),
    Bar(&'static mut bool)
}

fn main() {}