Derive Macro peace_data_derive::Data
source · #[derive(Data)]
{
// Attributes available to this derive:
#[peace_internal]
}
Expand description
Used to #[derive]
the Data
trait.
For regular usage, use #[derive(Data)]
For peace crates, also add the #[peace_internal]
attribute, which
references the peace_data
crate instead of the peace::data
re-export.