pub trait MaybeSerialize { }Expand description
serde::Serialize when the serde feature is enabled, and no requirement otherwise. Used in
trait bounds so that geometry types are serializable exactly when serialization is available.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementors§
impl<T: ?Sized> MaybeSerialize for T
Available on non-crate feature
serde only.