Struct binary_heap_plus::KeyComparator
[−]
[src]
pub struct KeyComparator<F: Clone>(pub F);
The comparator ordered by key
Trait Implementations
impl<F: Clone + Clone> Clone for KeyComparator<F>
[src]
fn clone(&self) -> KeyComparator<F>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<F: Debug + Clone> Debug for KeyComparator<F>
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl<K: Ord, T, F> Compare<T> for KeyComparator<F> where
F: Clone + FnMut(&T) -> K,
[src]
F: Clone + FnMut(&T) -> K,
Auto Trait Implementations
impl<F> Send for KeyComparator<F> where
F: Send,
F: Send,
impl<F> Sync for KeyComparator<F> where
F: Sync,
F: Sync,