pub trait ModifierChecker: Debug {
// Required method
fn test(&self, value: Modifiers) -> bool;
}
Expand description
A trait for something that can be tested for modifier presence.
pub trait ModifierChecker: Debug {
// Required method
fn test(&self, value: Modifiers) -> bool;
}
A trait for something that can be tested for modifier presence.