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