Creates archivable trait objects and registers implementations.
Prepend to trait definitions and implementations. For generic implementations, you may need to
manually register impls with the trait object system. See
register_impl for more information.
ArchiveDyn for usage information and examples.
serialize = "...": Chooses the name of the serialize trait. By default, it will be named “Serialize” + your trait name.
deserialize = "...": Adds deserialization support to the archived trait. Similarly to the
nameparameter, you can choose the name of the deserialize trait and by default it will be named “Deserialize” + your trait name.