pub struct HerbalistWork {
pub workers: BTreeSet<usize>,
pub misses: i32,
}Expand description
The work’s state: the workers (a set; its size), misses in a row.
Fields§
§workers: BTreeSet<usize>The workers.
misses: i32Misses in a row.
Trait Implementations§
Source§impl Clone for HerbalistWork
impl Clone for HerbalistWork
Source§fn clone(&self) -> HerbalistWork
fn clone(&self) -> HerbalistWork
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 HerbalistWork
impl Debug for HerbalistWork
Source§impl Default for HerbalistWork
impl Default for HerbalistWork
Source§fn default() -> HerbalistWork
fn default() -> HerbalistWork
Returns the “default value” for a type. Read more
Source§impl PartialEq for HerbalistWork
impl PartialEq for HerbalistWork
impl StructuralPartialEq for HerbalistWork
Auto Trait Implementations§
impl Freeze for HerbalistWork
impl RefUnwindSafe for HerbalistWork
impl Send for HerbalistWork
impl Sync for HerbalistWork
impl Unpin for HerbalistWork
impl UnsafeUnpin for HerbalistWork
impl UnwindSafe for HerbalistWork
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