Lines Matching defs:Command
71 pub struct Command { struct
72 name: Str,
73 long_flag: Option<Str>,
74 short_flag: Option<char>,
75 display_name: Option<String>,
76 bin_name: Option<String>,
100 subcommands: Vec<Command>, argument
112 impl Command { argument
133 fn new_inner(name: Str) -> Command { in new()
919 impl Command { implementation
1392 impl Command { implementation
2171 impl Command { impl
3210 impl Command { impl
3428 pub fn find_subcommand(&self, name: impl AsRef<std::ffi::OsStr>) -> Option<&Command> { in find_subcommand()
3441 ) -> Option<&mut Command> { in find_subcommand_mut()
3735 impl Command { impl
4310 fn _copy_subtree_for_help(&self) -> Command { in _copy_subtree_for_help()
4370 impl Command { implementation
4625 impl Default for Command { implementation
4669 impl Index<&'_ Id> for Command { implementation
4677 impl From<&'_ Command> for Command { implementation
4683 impl fmt::Display for Command { implementation