pub struct StockCounters {
pub used: [i32; 21],
pub made: [i32; 21],
}Expand description
The stock manager’s slot counters since the last sample (of each slot).
Fields§
§used: [i32; 21]The amount used, per slot.
made: [i32; 21]The amount made, per slot.
Trait Implementations§
Source§impl Clone for StockCounters
impl Clone for StockCounters
Source§fn clone(&self) -> StockCounters
fn clone(&self) -> StockCounters
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StockCounters
impl Debug for StockCounters
Source§impl Default for StockCounters
impl Default for StockCounters
impl Eq for StockCounters
Source§impl PartialEq for StockCounters
impl PartialEq for StockCounters
impl StructuralPartialEq for StockCounters
Auto Trait Implementations§
impl Freeze for StockCounters
impl RefUnwindSafe for StockCounters
impl Send for StockCounters
impl Sync for StockCounters
impl Unpin for StockCounters
impl UnsafeUnpin for StockCounters
impl UnwindSafe for StockCounters
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