pub struct Progress {
pub items_processed: usize,
pub items_total: usize,
}Available on crate features
std and dataset only.Expand description
A progress struct that can be used to track the progress of a data loader.
Fields§
§items_processed: usizeThe number of items that have been processed.
items_total: usizeThe total number of items that need to be processed.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Progress
impl RefUnwindSafe for Progress
impl Send for Progress
impl Sync for Progress
impl Unpin for Progress
impl UnwindSafe for Progress
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