pub enum Head {
All,
Residual,
}Expand description
Which units may be drawn as the head of the list.
Variants§
All
Every unit: the selection randomises all hits.
Residual
Only units with a fractional expected hit: integer hits are taken as fixed and only the remainder is randomised.
Trait Implementations§
impl Copy for Head
impl Eq for Head
impl StructuralPartialEq for Head
Auto Trait Implementations§
impl Freeze for Head
impl RefUnwindSafe for Head
impl Send for Head
impl Sync for Head
impl Unpin for Head
impl UnsafeUnpin for Head
impl UnwindSafe for Head
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