Trait plotly::plot::Trace

source ·
pub trait Trace: DynClone + ErasedSerialize {
    fn to_json(&self) -> String;
}
Expand description

A struct that implements Trace can be serialized to json format that is understood by Plotly.js.

Required Methods

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Serialize this value into the given Serde serializer. Read more
Serialize this value into the given Serde serializer. Read more
Serialize this value into the given Serde serializer. Read more
Serialize this value into the given Serde serializer. Read more

Implementors