[][src]Trait gu_base::Module

pub trait Module: Any {
    fn args_declare<'a, 'b>(&self, app: App<'a, 'b>) -> App<'a, 'b> { ... }
fn args_autocomplete<F>(&self, _matches: &ArgMatches, _app_gen: &F) -> bool
    where
        F: Fn() -> App<'static, 'static>
, { ... }
fn args_consume(&mut self, _matches: &ArgMatches) -> bool { ... }
fn prepare(&mut self) -> Box<Future<Item = (), Error = ()>> { ... }
fn run<D: Decorator + Clone + 'static>(&self, _decorator: D) { ... }
fn decorate_webapp<S: 'static>(&self, app: App<S>) -> App<S> { ... }
fn extract<T: Module + Any>(&self) -> Option<&T>
    where
        Self: Sized
, { ... } }

Provided Methods

Important traits for Box<R>

Implementors

impl Module for AutocompleteModule
[src]

Important traits for Box<R>

impl Module for LogModule
[src]

Important traits for Box<R>

impl<M1, M2> Module for ChainModule<M1, M2> where
    M1: Module,
    M2: Module
[src]

Important traits for Box<R>