hecs 0.7.3

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

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

#[derive(Query)]
struct Bar<'a> {
    baz: &'a mut bool,
}

fn main() {}