pub enum PlotStat {
Show 13 variants
TillQueueLen,
KitchenQueueLen,
ActiveTillWorkers,
ActiveKitchenWorkers,
Arrivals,
Balked,
GaveUpQueue,
OrdersStarted,
OrdersServed,
OrdersAbandoned,
Revenue,
IngredientCost,
Profit,
}Variants§
TillQueueLen
KitchenQueueLen
ActiveTillWorkers
ActiveKitchenWorkers
Arrivals
Balked
GaveUpQueue
OrdersStarted
OrdersServed
OrdersAbandoned
Revenue
IngredientCost
Profit
Implementations§
Source§impl PlotStat
impl PlotStat
pub const ALL: [Self; 13]
pub fn label(self) -> &'static str
pub fn supports_windowing(self) -> bool
pub fn title(self, windowed: bool, window_ticks: u64) -> String
pub fn base_value( self, snapshot: &SimulationSnapshot, tick: u64, salary_cost: f64, day_ticks: u64, ) -> f64
pub fn next(self) -> Self
pub fn previous(self) -> Self
Trait Implementations§
impl Copy for PlotStat
impl Eq for PlotStat
impl StructuralPartialEq for PlotStat
Auto Trait Implementations§
impl Freeze for PlotStat
impl RefUnwindSafe for PlotStat
impl Send for PlotStat
impl Sync for PlotStat
impl Unpin for PlotStat
impl UnwindSafe for PlotStat
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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