pub struct Weighted<H = FnvHasher> { /* private fields */ }
Expand description
Weighted selection with a given selection algorithm
The default algorithm is FnvHasher. See super::algorithms for more choices.
Trait Implementations§
Source§impl<H: SelectionAlgorithm> BackendSelection for Weighted<H>
impl<H: SelectionAlgorithm> BackendSelection for Weighted<H>
Auto Trait Implementations§
impl<H> Freeze for Weighted<H>where
H: Freeze,
impl<H = FnvHasher> !RefUnwindSafe for Weighted<H>
impl<H> Send for Weighted<H>where
H: Send,
impl<H> Sync for Weighted<H>where
H: Sync,
impl<H> Unpin for Weighted<H>where
H: Unpin,
impl<H = FnvHasher> !UnwindSafe for Weighted<H>
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