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§