[−][src]Struct abstutil::time::Progress
Fields
label: String
processed_items: usize
total_items: usize
started_at: Instant
last_printed_at: Instant
first_update: bool
Implementations
impl Progress
[src]
fn new(label: String, total_items: usize) -> Progress
[src]
fn next<'a>(
&mut self,
maybe_sink: &mut Option<Box<dyn TimerSink + 'a>>
) -> Option<(f64, String)>
[src]
&mut self,
maybe_sink: &mut Option<Box<dyn TimerSink + 'a>>
) -> Option<(f64, String)>
fn cancel_iter_early(&mut self) -> f64
[src]
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Progress
impl Send for Progress
impl Sync for Progress
impl Unpin for Progress
impl UnwindSafe for Progress
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,