Expand description
The core traits provided by rkyv.
Structs§
- Copy
Optimization - An optimization hint about whether
Tis trivially copyable.
Traits§
- Archive
- A type that can be used without deserializing.
- Archive
Pointee - An archived type with associated metadata for its relative pointer.
- Archive
Unsized - A counterpart of
Archivethat’s suitable for unsized types. - Deserialize
- Converts a type back from its archived form.
- Deserialize
Unsized - A counterpart of
Deserializethat’s suitable for unsized types. - Layout
Raw - Returns the layout of a type from its metadata.
- NoUndef
- A type with no undefined bytes.
- Portable
- A type with a stable, well-defined layout that is the same on all targets.
- Serialize
- Converts a type to its archived form.
- Serialize
Unsized - A counterpart of
Serializethat’s suitable for unsized types.
Derive Macros§
- Archive
- Derives
Archivefor the labeled type. - Deserialize
- Derives
Deserializefor the labeled type. - Portable
- Derives
Portablefor the labeled type. - Serialize
- Derives
Serializefor the labeled type.