pub struct MarketWork {
pub plans: BTreeMap<usize, Vec<(usize, i32)>>,
}Expand description
MarketWork: each vendor’s plan (material, count) on its way to the market; empty for a vendor carrying goods away.
Fields§
§plans: BTreeMap<usize, Vec<(usize, i32)>>Each vendor’s plan: (raw material, count).
Trait Implementations§
Source§impl Clone for MarketWork
impl Clone for MarketWork
Source§fn clone(&self) -> MarketWork
fn clone(&self) -> MarketWork
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 MarketWork
impl Debug for MarketWork
Source§impl Default for MarketWork
impl Default for MarketWork
Source§fn default() -> MarketWork
fn default() -> MarketWork
Returns the “default value” for a type. Read more
impl Eq for MarketWork
Source§impl PartialEq for MarketWork
impl PartialEq for MarketWork
impl StructuralPartialEq for MarketWork
Auto Trait Implementations§
impl Freeze for MarketWork
impl RefUnwindSafe for MarketWork
impl Send for MarketWork
impl Sync for MarketWork
impl Unpin for MarketWork
impl UnsafeUnpin for MarketWork
impl UnwindSafe for MarketWork
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