Macro sai::combine_component_registry[][src]

macro_rules! combine_component_registry {
    ($name:ident, [$($x:ty),*]) => { ... };
}
Expand description

A macro that combines any number of Component Registry

component_registry!(DummyRegistry, [A]);
component_registry!(DummyRegistry2, [A]);

// Combine DummyRegistry and DummyRegistry2 into SuperRegistry
combine_component_registry!(SuperRegistry, [ DummyRegistry, DummyRegistry2 ]);