ActionMapExt

Trait ActionMapExt 

Source
pub trait ActionMapExt: IsA<ActionMap> + 'static {
    // Provided methods
    fn add_action(&self, action: &impl IsA<Action>) { ... }
    fn lookup_action(&self, action_name: &str) -> Option<Action> { ... }
    fn remove_action(&self, action_name: &str) { ... }
}

Provided Methods§

Source

fn add_action(&self, action: &impl IsA<Action>)

Source

fn lookup_action(&self, action_name: &str) -> Option<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§