pub trait Plot3D {
// Required methods
fn label(&self) -> &str;
fn try_plot(&self, ui: &Plot3DUi<'_>) -> Result<(), Plot3DError>;
// Provided method
fn plot(&self, ui: &Plot3DUi<'_>) { ... }
}Expand description
Common trait for 3D plot elements
Required Methods§
Provided Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".