Trait fractal::utils::matrix::AtMentionExt
source · pub trait AtMentionExt {
// Required method
fn can_contain_at_room(&self) -> bool;
}
Expand description
Helper trait for types possibly containing an @room
mention.
Required Methods§
sourcefn can_contain_at_room(&self) -> bool
fn can_contain_at_room(&self) -> bool
Whether this event might contain an @room
mention.
This means that either it doesn’t have intentional mentions, or it has
intentional mentions and room
is set to true
.