pub trait Structure2PlotBuilder<T> {
// Required methods
fn new(structure: T) -> Self;
fn build(&mut self, save_to: &str) -> Result<(), Box<dyn Error>>;
}
Expand description
A trait that contains the needed functionallity to build a structure-to-plot process.
Required Methods§
fn new(structure: T) -> Self
fn build(&mut self, save_to: &str) -> Result<(), Box<dyn Error>>
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.