Skip to main content

Matches

Trait Matches 

Source
pub trait Matches<T> {
    // Required method
    fn matches(&self, t: T) -> bool;
}

Required Methods§

Source

fn matches(&self, t: T) -> bool

Implementations on Foreign Types§

Source§

impl Matches<&RoomId> for RoomFilter

Source§

fn matches(&self, room_id: &RoomId) -> bool

Source§

impl Matches<&UserId> for Filter

Source§

fn matches(&self, user_id: &UserId) -> bool

Source§

impl<E: Event> Matches<&E> for RoomEventFilter

Source§

fn matches(&self, event: &E) -> bool

Implementors§