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() {}