pub struct PartialDataset<D, I> { /* private fields */ }Expand description
Only use a fraction of an existing dataset lazily.
Implementations§
source§impl<D, I> PartialDataset<D, I>
impl<D, I> PartialDataset<D, I>
sourcepub fn new(
dataset: D,
start_index: usize,
end_index: usize
) -> PartialDataset<D, I>
pub fn new( dataset: D, start_index: usize, end_index: usize ) -> PartialDataset<D, I>
Constructs a new PartialDataset.
source§impl<D, I> PartialDataset<D, I>where
D: Dataset<I>,
impl<D, I> PartialDataset<D, I>where
D: Dataset<I>,
Trait Implementations§
source§impl<D, I> Dataset<I> for PartialDataset<D, I>
impl<D, I> Dataset<I> for PartialDataset<D, I>
Auto Trait Implementations§
impl<D, I> RefUnwindSafe for PartialDataset<D, I>where
D: RefUnwindSafe,
I: RefUnwindSafe,
impl<D, I> Send for PartialDataset<D, I>
impl<D, I> Sync for PartialDataset<D, I>
impl<D, I> Unpin for PartialDataset<D, I>
impl<D, I> UnwindSafe for PartialDataset<D, I>where
D: UnwindSafe,
I: 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