Trait matrix_sdk_ui::room_list_service::filters::Filter

source ·
pub trait Filter: Fn(&Room) -> 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(&Room) -> bool,