Savefile

Trait Savefile 

Source
pub trait Savefile:
    Serialize
    + Deserialize
    + WithSchema
    + Packed { }
Expand description

Convenience trait that has Serialize + Deserialize + WithSchema + Packed as supertrait.

Adding this as a bound on a type, ensures that type can be serialized and deserialized effectively.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§