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§
Sourcefn with_mod_keys(self, mod_keys: ModKeys) -> Binding
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".