Struct binary_heap_plus::FnComparator
[−]
[src]
pub struct FnComparator<F>(pub F);
The comparator defined by closure
Trait Implementations
impl<F: Clone> Clone for FnComparator<F>
[src]
fn clone(&self) -> FnComparator<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> Debug for FnComparator<F>
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl<T, F> Compare<T> for FnComparator<F> where
F: Clone + FnMut(&T, &T) -> Ordering,
[src]
F: Clone + FnMut(&T, &T) -> Ordering,
Auto Trait Implementations
impl<F> Send for FnComparator<F> where
F: Send,
F: Send,
impl<F> Sync for FnComparator<F> where
F: Sync,
F: Sync,