Trait matrix_sdk_ui::room_list_service::sorters::Sorter
source · pub trait Sorter: Fn(&Room, &Room) -> Ordering { }
Expand description
A trait “alias” that represents a sorter.
A sorter is simply a function that receives two &Room
s and returns a
Ordering
.