Trait rkyv::with::SerializeWith
source · pub trait SerializeWith<F: ?Sized, S: Fallible + ?Sized>: ArchiveWith<F> {
// Required method
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§
Object Safety§
This trait is not object safe.