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::{Bundle, Query};

#[derive(Bundle)]
struct Foo(i32);

#[derive(Bundle)]
struct Bar(i32, String);

#[derive(Bundle)]
struct Baz(i32, String, &'static str);

#[derive(Query)]
struct Quux<'a>(&'a i32);

fn main() {}