ActionsProxy

Trait ActionsProxy 

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

Extension method for managing actions. Implemented for both Commands and World.

Required Methods§

Source

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

Returns a type for managing 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 ManageActions

Source§

impl ActionsProxy for World

Source§

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

Implementors§