Trait Visualization

Source
pub trait Visualization {
    // Required method
    fn to_json(&self) -> String;
}
Expand description

Represents a visualization that can be serialized into a json string.

Required Methods§

Source

fn to_json(&self) -> String

Serializes this visualization to JSON. The JSON should match this schema. There is a playground here.

Implementors§