pub struct Tracker {
pub this_year: Vec<(usize, i32)>,
pub last_year: Vec<(usize, i32)>,
pub year: u32,
}Expand description
A workplace’s tracker: what it made this year (material and amount), what it made last year, and the year these belong to.
Fields§
§this_year: Vec<(usize, i32)>What it made this year: (raw material, amount).
last_year: Vec<(usize, i32)>What it made last year.
year: u32The year these belong to.
Implementations§
Trait Implementations§
impl Eq for Tracker
impl StructuralPartialEq for Tracker
Auto Trait Implementations§
impl Freeze for Tracker
impl RefUnwindSafe for Tracker
impl Send for Tracker
impl Sync for Tracker
impl Unpin for Tracker
impl UnsafeUnpin for Tracker
impl UnwindSafe for Tracker
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