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]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<F: Debug> Debug for FnComparator<F>
[src]

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

[src]

Auto Trait Implementations

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

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