Type Alias relm4::typed_view::OrdFn

source ·
pub type OrdFn<T> = Option<Box<dyn Fn(&T, &T) -> Ordering>>;
Expand description

Sorting function used for views.

Aliased Type§

enum OrdFn<T> {
    None,
    Some(Box<dyn Fn(&T, &T) -> Ordering>),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(Box<dyn Fn(&T, &T) -> Ordering>)

Some value of type T.