Struct abstutil::time::Progress [−][src]
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
[src]
impl Send for Progress
[src]
impl Sync for Progress
[src]
impl Unpin for Progress
[src]
impl UnwindSafe for Progress
[src]
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,
pub 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.
pub 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>,