pub trait Configurable: DeserializeOwned {
const FIELDS: &'static [&'static str];
const COMPANION: &'static str;
const SHORTCUT_MODE: ShortcutMode;
// Provided method
fn with_args(args: Args<'_>) -> Result<Self, Error> { ... }
}Required Associated Constants§
Sourceconst SHORTCUT_MODE: ShortcutMode
const SHORTCUT_MODE: ShortcutMode
配置快捷模式
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.