Filter

Trait Filter 

Source
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.

Implementors§

Source§

impl<F> Filter for F
where F: Fn(&RoomListItem) -> bool,