pub trait StudyIo: Sized {
// Required methods
fn save(&self, path: impl AsRef<Path>) -> Result<()>;
fn load(path: impl AsRef<Path>) -> Result<Self>;
}Expand description
Persist a Study as JSON.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".