Derive Macro oxygengine_core::ecs::commands::DynamicBundleClone
#[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.