usecrate::Configuration;/// Settings struct that can be bound by configuration.
pubtraitSettings{/// Bind values in self from configuration.
fnbind<C>(&mutself, config: C)where
C: Configuration;
/// Get a new settings value from configuration.
fn get<C>(config: C) -> Selfwhere
C: Configuration,
Self: Default,
{letmut ret =Self::default();Self::bind(&mut ret, config);
ret
}}