Trait ActionsProxy

Source
pub trait ActionsProxy {
    // Required method
    fn actions(&mut self, agent: Entity) -> impl ModifyActions;
}
Expand description

Proxy method for modifying actions.

Required Methods§

Source

fn actions(&mut self, agent: Entity) -> impl ModifyActions

Returns a type for modifying actions for specified agent.

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.

Implementations on Foreign Types§

Source§

impl ActionsProxy for Commands<'_, '_>

Source§

fn actions(&mut self, agent: Entity) -> impl ModifyActions

Source§

impl ActionsProxy for World

Source§

fn actions(&mut self, agent: Entity) -> impl ModifyActions

Implementors§