[−][src]Derive Macro rkyv::Archive
#[derive(Archive)] { // Attributes available to this derive: #[archive] }
Derives Archive
for the labeled type.
Additional arguments can be specified using the #[archive(...)]
attribute:
self
: ImplementsArchiveSelf
as well asArchive
. Only suitable for types that can be directly archived.derive(...)
: Adds a#[derive(...)]
attribute to the archived type.archived = "..."
: Exposes the archived type with the given name.