pub trait ShortcutTriggerExt: IsA<ShortcutTrigger> + 'static {
// Provided methods
fn to_label(&self, display: &impl IsA<Display>) -> GString { ... }
fn to_str(&self) -> GString { ... }
fn trigger(
&self,
event: impl AsRef<Event>,
enable_mnemonics: bool,
) -> KeyMatch { ... }
}Provided Methods§
fn to_label(&self, display: &impl IsA<Display>) -> GString
fn to_str(&self) -> GString
fn trigger(&self, event: impl AsRef<Event>, enable_mnemonics: bool) -> KeyMatch
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.