pub trait Filter: Fn(&RoomListItem) -> bool { }Expand description
A trait “alias” that represents a filter.
A filter is simply a function that receives a &Room and returns a bool.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".