Struct chart_js_rs::types::Dataset
source · pub struct Dataset<D: DatasetTrait> {
pub datasets: D,
pub labels: Option<Vec<NumberOrDateString>>,
}Fields§
§datasets: D§labels: Option<Vec<NumberOrDateString>>Trait Implementations§
source§impl<D: Ord + DatasetTrait> Ord for Dataset<D>
impl<D: Ord + DatasetTrait> Ord for Dataset<D>
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl<D: PartialEq + DatasetTrait> PartialEq<Dataset<D>> for Dataset<D>
impl<D: PartialEq + DatasetTrait> PartialEq<Dataset<D>> for Dataset<D>
source§impl<D: PartialOrd + DatasetTrait> PartialOrd<Dataset<D>> for Dataset<D>
impl<D: PartialOrd + DatasetTrait> PartialOrd<Dataset<D>> for Dataset<D>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read more