Trait rkyv::with::SerializeWith[][src]

pub trait SerializeWith<F: ?Sized, S: Fallible + ?Sized>: ArchiveWith<F> {
    fn serialize_with(
        field: &F,
        serializer: &mut S
    ) -> Result<Self::Resolver, S::Error>; }
Expand description

A variant of Serialize that works with With wrappers.

Required methods

Serializes the field type F using the given serializer.

Implementors