Trait ScopeConfig
tsukuyomi::app::builder
pub trait ScopeConfig { fn configure(self, scope: &mut Scope); }
Trait representing a set of configuration for setting a scope.
fn configure(self, scope: &mut Scope)
Applies this configuration to the provided Scope.
Scope
impl<F> ScopeConfig for F where F: FnOnce(&mut Scope),
impl<P, F> ScopeConfig for Mount<P, F> where P: AsRef<str>, F: FnOnce(&mut Scope),