Skip to main content

IKeyModifiersEventArgs

Trait IKeyModifiersEventArgs 

Source
pub trait IKeyModifiersEventArgs {
    // Required method
    fn key_modifiers(&self) -> KeyModifiers;
}
Expand description

Implemented by event args that carry the state of the keyboard modifier keys at the time the event occurred.

Required Methods§

Source

fn key_modifiers(&self) -> KeyModifiers

The key modifiers associated with this event.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§