pub struct PlotSeriesSpec {
pub name: String,
pub dtype: DType,
pub index: Vec<IndexLabel>,
pub values: Vec<Scalar>,
pub group_key: Option<Vec<Scalar>>,
}Expand description
One logical series ready for a future plotting backend.
Fields§
§name: String§dtype: DType§index: Vec<IndexLabel>§values: Vec<Scalar>§group_key: Option<Vec<Scalar>>Trait Implementations§
Source§impl Clone for PlotSeriesSpec
impl Clone for PlotSeriesSpec
Source§fn clone(&self) -> PlotSeriesSpec
fn clone(&self) -> PlotSeriesSpec
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PlotSeriesSpec
impl Debug for PlotSeriesSpec
Source§impl<'de> Deserialize<'de> for PlotSeriesSpec
impl<'de> Deserialize<'de> for PlotSeriesSpec
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for PlotSeriesSpec
impl PartialEq for PlotSeriesSpec
Source§fn eq(&self, other: &PlotSeriesSpec) -> bool
fn eq(&self, other: &PlotSeriesSpec) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PlotSeriesSpec
impl Serialize for PlotSeriesSpec
impl StructuralPartialEq for PlotSeriesSpec
Auto Trait Implementations§
impl Freeze for PlotSeriesSpec
impl RefUnwindSafe for PlotSeriesSpec
impl Send for PlotSeriesSpec
impl Sync for PlotSeriesSpec
impl Unpin for PlotSeriesSpec
impl UnsafeUnpin for PlotSeriesSpec
impl UnwindSafe for PlotSeriesSpec
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more