gio::subclass::prelude

Trait ActionMapImpl

source
pub trait ActionMapImpl: ObjectImpl + ObjectSubclass<Type: IsA<ActionMap>> {
    // Required methods
    fn lookup_action(&self, action_name: &str) -> Option<Action>;
    fn add_action(&self, action: &Action);
    fn remove_action(&self, action_name: &str);
}

Required Methods§

source

fn lookup_action(&self, action_name: &str) -> Option<Action>

source

fn add_action(&self, action: &Action)

source

fn remove_action(&self, action_name: &str)

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§