Trait valence_command::AddCommand

source ·
pub trait AddCommand {
    // Required method
    fn add_command<T: Command + Send + Sync + 'static>(&mut self) -> &mut Self;
}

Required Methods§

source

fn add_command<T: Command + Send + Sync + 'static>(&mut self) -> &mut Self

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl AddCommand for App

source§

fn add_command<T: Command + Send + Sync + 'static>(&mut self) -> &mut Self

Implementors§