Derive Macro hecs::DynamicBundleClone[][src]

#[derive(DynamicBundleClone)]
Expand description

Implement DynamicBundleClone for a struct.

This is an extension macro for bundles which allow them to be cloned, and subsequently used in EntityBuilderClone::add_bundle.

Requires that all fields of the struct implement Clone.

The trait Bundle must also be implemented to be able to be used in entity builder.