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
16
mod inner {
    use hecs::{Bundle, Query};

    #[derive(Bundle)]
    pub struct Foo;

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

type Foo = inner::Foo;
type Bar<'a> = inner::Bar<'a>;

fn main() {}