use hecs::Bundle; #[derive(Bundle)] struct Foo { foo: T, } #[derive(Bundle)] struct Bar { foo: i32, bar: T, } #[derive(Bundle)] struct Baz { foo: T, bar: U, baz: V, } fn main() {}