pub type CmdInfoCmd<'a> = CmdInfo<'a, HandlerType>;Aliased Type§
pub struct CmdInfoCmd<'a> {
pub handler: fn(&mut Engine<'_>, &[&str]) -> Result<(), Box<dyn Error>>,
pub required: Vec<&'a str>,
pub optional: Vec<&'a str>,
pub unlimited: bool,
pub docs: &'static str,
}Fields§
§handler: fn(&mut Engine<'_>, &[&str]) -> Result<(), Box<dyn Error>>§required: Vec<&'a str>§optional: Vec<&'a str>§unlimited: bool§docs: &'static str