pub trait Serialize {
// Required method
fn serialize<S>(&self, serializer: S) -> Result<(), S::Error>
where S: Serializer;
}Expand description
Type that could be serialized into a mapping file through Serializer.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".