pub trait ToPkl { // Provided method fn to_pkl<P: AsRef<Path>>( &self, path: P ) -> Result<(), LinearOpticalModelError> where Self: Serialize + Sized { ... } }
Writes optical metrics to a pickle file