pub struct Progress {
pub stage: &'static str,
pub done: usize,
pub total: usize,
pub ran: usize,
pub elapsed: f64,
pub eta: Option<f64>,
}Expand description
進み具合(run がタスクを 1 つ終えるたびに、文脈の受け手 lensbench_core::par::with_progress へ
lensbench_core::par::Event::Count で知らせる)
数で数えられる作業の進み具合(Event::Count)
Fields§
§stage: &'static str段の名前("" は段の無い作業。差し替え探索は "screen"・"main")
done: usize終わった数(再開で飛ばした分を含む)
total: usize§ran: usizeこの実行で終えた数
elapsed: f64この実行の経過(秒)
eta: Option<f64>残りの見込み(秒。この実行の速さから。まだ分からなければ None)
Trait Implementations§
impl Copy for Count
impl StructuralPartialEq for Count
Auto Trait Implementations§
impl Freeze for Count
impl RefUnwindSafe for Count
impl Send for Count
impl Sync for Count
impl Unpin for Count
impl UnsafeUnpin for Count
impl UnwindSafe for Count
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§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more