pub trait FuzzySort<'a> {
// Required methods
fn score(&self, a: &'a str) -> u32;
fn sort<T: Sortable + 'static>(&self) -> impl FnMut(&T, &T) -> Ordering;
}Required Methods§
fn score(&self, a: &'a str) -> u32
fn sort<T: Sortable + 'static>(&self) -> impl FnMut(&T, &T) -> Ordering
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".