pub trait Filter<K, M>where
K: Id + CaptureControl,
M: Msg,{
// Required method
fn allow_entry(&self, entry: &impl EventEntry<K, M>) -> bool;
}
Required Methods§
fn allow_entry(&self, entry: &impl EventEntry<K, M>) -> bool
fn allow_entry(&self, entry: &impl EventEntry<K, M>) -> bool
Return true
if the entry is allowed to be captured.