Trait Plot

Source
pub trait Plot {
    type Success;
    type Error;

    // Required method
    fn plot<P>(self, path: P) -> Result<Self::Success, Self::Error>
       where P: Into<PathBuf>;
}
Expand description

Plot trait.

Required Associated Types§

Source

type Success

Plot success type.

Source

type Error

Plot error type.

Required Methods§

Source

fn plot<P>(self, path: P) -> Result<Self::Success, Self::Error>
where P: Into<PathBuf>,

Plot to given path.

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.

Implementors§