Struct best::BestMultiSet
source · pub struct BestMultiSet<T>(_);
Implementations§
source§impl<T> BestMultiSet<T>
impl<T> BestMultiSet<T>
pub fn new() -> Self
pub fn iter(&self) -> BestMultiSetIter<'_, T>
pub fn drain(&mut self) -> BestMultiSetDrain<'_, T>
pub fn first(&self) -> Option<&T>
pub fn clear(&mut self)
pub fn is_empty(&self) -> bool
pub fn insert_lt_by<F>(&mut self, value: T, compare: F)where
F: FnMut(&T, &T) -> Ordering,
pub fn insert_gt_by<F>(&mut self, value: T, compare: F)where
F: FnMut(&T, &T) -> Ordering,
source§impl<T: PartialOrd> BestMultiSet<T>
impl<T: PartialOrd> BestMultiSet<T>
Trait Implementations§
source§impl<T: Clone> Clone for BestMultiSet<T>
impl<T: Clone> Clone for BestMultiSet<T>
source§fn clone(&self) -> BestMultiSet<T>
fn clone(&self) -> BestMultiSet<T>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more