[go: up one dir, main page]

Module traits

Module traits 

Source
Expand description

The core traits provided by rkyv.

Structs§

CopyOptimization
An optimization hint about whether T is trivially copyable.

Traits§

Archive
A type that can be used without deserializing.
ArchivePointee
An archived type with associated metadata for its relative pointer.
ArchiveUnsized
A counterpart of Archive that’s suitable for unsized types.
Deserialize
Converts a type back from its archived form.
DeserializeUnsized
A counterpart of Deserialize that’s suitable for unsized types.
LayoutRaw
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.
SerializeUnsized
A counterpart of Serialize that’s suitable for unsized types.

Derive Macros§

Archive
Derives Archive for the labeled type.
Deserialize
Derives Deserialize for the labeled type.
Portable
Derives Portable for the labeled type.
Serialize
Derives Serialize for the labeled type.