pub struct Dataset<D: DatasetTrait> { /* private fields */ }
Implementations§
source§impl<D: DatasetTrait> Dataset<D>
impl<D: DatasetTrait> Dataset<D>
pub fn new() -> Self
pub fn get_datasets(&mut self) -> &mut D
pub fn datasets(self, datasets: impl Into<D>) -> Self
pub fn get_labels(&mut self) -> &mut Option<Vec<NumberOrDateString>>
pub fn labels<T: Into<NumberOrDateString>>( self, labels: impl IntoIterator<Item = T>, ) -> Self
Trait Implementations§
source§impl<'de, D> Deserialize<'de> for Dataset<D>where
D: Deserialize<'de> + DatasetTrait,
impl<'de, D> Deserialize<'de> for Dataset<D>where
D: Deserialize<'de> + DatasetTrait,
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<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: PartialOrd + DatasetTrait> PartialOrd for Dataset<D>
impl<D: PartialOrd + DatasetTrait> PartialOrd for Dataset<D>
impl<D: Eq + DatasetTrait> Eq for Dataset<D>
impl<D: DatasetTrait> StructuralPartialEq for Dataset<D>
Auto Trait Implementations§
impl<D> Freeze for Dataset<D>where
D: Freeze,
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)