pub trait Trace: DynClone + ErasedSerialize {
// Required method
fn to_json(&self) -> String;
}Expand description
A struct that implements Trace can be serialized to json format that is
understood by Plotly.js.
Required Methods§
Trait Implementations§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".