pub struct Gather {
pub stored: Vec<i32>,
pub transit: Vec<i32>,
pub workers: BTreeSet<usize>,
}Expand description
GatherRawMaterials state (delivered per requirement, in transit, workers).
Fields§
§stored: Vec<i32>The materials delivered, for each requirement.
transit: Vec<i32>The materials on their way, for each requirement.
workers: BTreeSet<usize>The workers.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Gather
impl RefUnwindSafe for Gather
impl Send for Gather
impl Sync for Gather
impl Unpin for Gather
impl UnsafeUnpin for Gather
impl UnwindSafe for Gather
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