Trait rkyv::Serialize[][src]

pub trait Serialize<S: Fallible + ?Sized>: Archive {
    fn serialize(&self, serializer: &mut S) -> Result<Self::Resolver, S::Error>;
}
Expand description

Converts a type to its archived form.

See Archive for examples of implementing Serialize.

Required methods

Writes the dependencies for the object and returns a resolver that can create the archived type.

Implementations on Foreign Types

Implementors