pub struct BuildWork {
pub destroy: bool,
pub cursor: i32,
pub occupied: Vec<bool>,
pub workers: BTreeSet<usize>,
}Expand description
BuildStructure state (destroy flag, point cursor, occupied build points, workers).
Fields§
§destroy: boolWhether this is demolition instead of construction.
cursor: i32The next build point to try.
occupied: Vec<bool>Which build points are taken.
workers: BTreeSet<usize>The workers.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BuildWork
impl RefUnwindSafe for BuildWork
impl Send for BuildWork
impl Sync for BuildWork
impl Unpin for BuildWork
impl UnsafeUnpin for BuildWork
impl UnwindSafe for BuildWork
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