pub struct Selected {
pub head: usize,
pub list: Vec<usize>,
pub hits: Vec<u64>,
pub effective_lambda: Vec<f64>,
pub accounting: Option<Selection>,
}Expand description
The outcome of a full selection.
Fields§
§head: usizeWhere the rotated list starts: a 0-based position in order.
list: Vec<usize>The frame units in selection order: order rotated to the head.
hits: Vec<u64>Realised hits, one per position of list.
effective_lambda: Vec<f64>Effective expected hits per frame unit (original indexing), after any floating-point adjustment.
accounting: Option<Selection>The inner selection’s accounting, when one was run; None when
every expected hit was an integer and nothing was random.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Selected
impl RefUnwindSafe for Selected
impl Send for Selected
impl Sync for Selected
impl Unpin for Selected
impl UnsafeUnpin for Selected
impl UnwindSafe for Selected
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