Skip to main content

CanUpdateCommand

Trait CanUpdateCommand 

Source
pub trait CanUpdateCommand<Args> {
    // Required method
    fn update_command(&self, _phantom: PhantomData<Args>, command: &mut Command);
}

Required Methods§

Source

fn update_command(&self, _phantom: PhantomData<Args>, command: &mut Command)

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<Context, Args> CanUpdateCommand<Args> for Context
where Context: HasCgpProvider, Context::CgpProvider: CommandUpdater<Context, Args>,