Skip to main content

ModifierChecker

Trait ModifierChecker 

Source
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.

Required Methods§

Source

fn test(&self, value: Modifiers) -> bool

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§