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]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<F: Debug + Clone> Debug for KeyComparator<F>
[src]

[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]

[src]

Auto Trait Implementations

impl<F> Send for KeyComparator<F> where
    F: Send

impl<F> Sync for KeyComparator<F> where
    F: Sync