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 for Dataset<D>
impl<D: PartialEq + DatasetTrait> PartialEq for Dataset<D>
source§impl<D: PartialOrd + DatasetTrait> PartialOrd for Dataset<D>
impl<D: PartialOrd + DatasetTrait> PartialOrd 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 moreimpl<D: Eq + DatasetTrait> Eq for Dataset<D>
impl<D: DatasetTrait> StructuralEq for Dataset<D>
impl<D: DatasetTrait> StructuralPartialEq for Dataset<D>
Auto Trait Implementations§
impl<D> RefUnwindSafe for Dataset<D>where
D: RefUnwindSafe,
impl<D> Send for Dataset<D>where
D: Send,
impl<D> Sync for Dataset<D>where
D: Sync,
impl<D> Unpin for Dataset<D>where
D: Unpin,
impl<D> UnwindSafe for Dataset<D>where
D: UnwindSafe,
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