Trait Plot

Source
pub trait Plot {
    // Required methods
    fn plot(&self);
    fn write_html(&self, path: impl Into<String>);
    fn to_json(&self) -> Result<String, Error>;
    fn to_html(&self) -> String;
    fn to_inline_html(&self, plot_div_id: Option<&str>) -> String;
}
Expand description

A trait representing a generic plot that can be displayed or rendered.

Required Methods§

Source

fn plot(&self)

Source

fn write_html(&self, path: impl Into<String>)

Source

fn to_json(&self) -> Result<String, Error>

Source

fn to_html(&self) -> String

Source

fn to_inline_html(&self, plot_div_id: Option<&str>) -> String

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§

Source§

impl<T> Plot for T
where T: PlotHelper + Serialize + Clone,

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy