Plot3D

Trait Plot3D 

Source
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§

Source

fn label(&self) -> &str

Source

fn try_plot(&self, ui: &Plot3DUi<'_>) -> Result<(), Plot3DError>

Provided Methods§

Source

fn plot(&self, ui: &Plot3DUi<'_>)

Implementors§

Source§

impl<'a> Plot3D for Line3D<'a>

Source§

impl<'a> Plot3D for Mesh3D<'a>

Source§

impl<'a> Plot3D for Quads3D<'a>

Source§

impl<'a> Plot3D for Scatter3D<'a>

Source§

impl<'a> Plot3D for Surface3D<'a>

Source§

impl<'a> Plot3D for Triangles3D<'a>

Source§

impl<'a, T: Into<TextureRef> + Copy> Plot3D for Image3DByAxes<'a, T>

Source§

impl<'a, T: Into<TextureRef> + Copy> Plot3D for Image3DByCorners<'a, T>