Skip to main content

InputModKeys

Trait InputModKeys 

Source
pub trait InputModKeys {
    // Required method
    fn with_mod_keys(self, mod_keys: ModKeys) -> Binding;
}
Expand description

A trait to ergonomically assign keyboard modifiers to any type that can be converted into a Binding.

Required Methods§

Source

fn with_mod_keys(self, mod_keys: ModKeys) -> Binding

Returns a binding with assigned keyboard modifiers.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§