Struct best::BestMultiSet [−][src]
pub struct BestMultiSet<T>(_);
Methods
impl<T> BestMultiSet<T>
[src]
impl<T> BestMultiSet<T>
pub fn new() -> Self
[src]
pub fn new() -> Self
pub fn iter(&self) -> BestMultiSetIter<T>
[src]
pub fn iter(&self) -> BestMultiSetIter<T>
pub fn drain(&mut self) -> BestMultiSetDrain<T>
[src]
pub fn drain(&mut self) -> BestMultiSetDrain<T>
pub fn first(&self) -> Option<&T>
[src]
pub fn first(&self) -> Option<&T>
pub fn clear(&mut self)
[src]
pub fn clear(&mut self)
pub fn is_empty(&self) -> bool
[src]
pub fn is_empty(&self) -> bool
pub fn insert_lt_by<F>(&mut self, value: T, compare: F) where
F: FnMut(&T, &T) -> Ordering,
[src]
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,
[src]
pub fn insert_gt_by<F>(&mut self, value: T, compare: F) where
F: FnMut(&T, &T) -> Ordering,
impl<T: PartialOrd> BestMultiSet<T>
[src]
impl<T: PartialOrd> BestMultiSet<T>
Trait Implementations
impl<T: Debug> Debug for BestMultiSet<T>
[src]
impl<T: Debug> Debug for BestMultiSet<T>
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<T: Clone> Clone for BestMultiSet<T>
[src]
impl<T: Clone> Clone for BestMultiSet<T>
fn clone(&self) -> BestMultiSet<T>
[src]
fn clone(&self) -> BestMultiSet<T>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl<T> Default for BestMultiSet<T>
[src]
impl<T> Default for BestMultiSet<T>
impl<'a, T> IntoIterator for &'a BestMultiSet<T>
[src]
impl<'a, T> IntoIterator for &'a BestMultiSet<T>
Auto Trait Implementations
impl<T> Send for BestMultiSet<T> where
T: Send,
impl<T> Send for BestMultiSet<T> where
T: Send,
impl<T> Sync for BestMultiSet<T> where
T: Sync,
impl<T> Sync for BestMultiSet<T> where
T: Sync,