#component #group #specs #ecs #gamedev

macro component_group_derive

Automatic derive for the ComponentGroup trait

3 stable releases

3.0.0 Dec 24, 2020
2.0.0 Dec 24, 2019
1.0.0 Dec 23, 2018

#60 in #specs


Used in component_group

MPL-2.0 license

12KB
235 lines

component_group_derive

Crates.io Docs.rs Build Status Say Thanks!

This crate provides the custom derive macro that allows you to automatically derive the ComponentGroup trait.

See the documentation for more details about the motivations for creating this trait and how to use it.


lib.rs:

The custom derive for the ComponentGroup trait is defined in this crate. There is no need to depend on this crate because its contents are automatically re-exported by the component_group crate. See the documentation of that crate for more information.

Dependencies

~1.5MB
~34K SLoC