pub struct BestMultiSet<T>(/* private fields */);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)
pub fn insert_gt_by<F>(&mut self, value: T, compare: F)
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 duplicate 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 moreSource§impl<T: Debug> Debug for BestMultiSet<T>
impl<T: Debug> Debug for BestMultiSet<T>
Source§impl<T> Default for BestMultiSet<T>
impl<T> Default for BestMultiSet<T>
Auto Trait Implementations§
impl<T> Freeze for BestMultiSet<T>
impl<T> RefUnwindSafe for BestMultiSet<T>where
T: RefUnwindSafe,
impl<T> Send for BestMultiSet<T>where
T: Send,
impl<T> Sync for BestMultiSet<T>where
T: Sync,
impl<T> Unpin for BestMultiSet<T>where
T: Unpin,
impl<T> UnwindSafe for BestMultiSet<T>where
T: UnwindSafe,
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