[go: up one dir, main page]

ShortcutTriggerExt

Trait ShortcutTriggerExt 

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

Source

fn to_label(&self, display: &impl IsA<Display>) -> GString

Source

fn to_str(&self) -> GString

Source

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.

Implementors§