| /external/rust/crates/clap/src/error/ |
| D | format.rs | 18 fn format_error(error: &crate::error::Error<Self>) -> StyledStr; in format_error() 31 fn format_error(error: &crate::error::Error<Self>) -> StyledStr { in format_error() 55 fn format_error(error: &crate::error::Error<Self>) -> StyledStr { in format_error() 118 fn start_error(styled: &mut StyledStr) { in start_error() 380 usage: Option<StyledStr>, in format_error_message() 381 ) -> StyledStr { in format_error_message() 403 fn put_usage(styled: &mut StyledStr, usage: StyledStr) { in put_usage() 418 fn try_help(styled: &mut StyledStr, help: Option<&str>) { in try_help() 429 fn did_you_mean(styled: &mut StyledStr, context: &str, valid: &ContextValue) { in did_you_mean()
|
| D | mod.rs | 274 pub fn render(&self) -> StyledStr { in render() 351 usage: Option<StyledStr>, in argument_conflict() 430 usage: Option<StyledStr>, in invalid_subcommand() 468 usage: Option<StyledStr>, in unrecognized_subcommand() 490 usage: Option<StyledStr>, in missing_required_argument() 513 usage: Option<StyledStr>, in missing_subcommand() 553 usage: Option<StyledStr>, in too_many_values() 577 usage: Option<StyledStr>, in too_few_values() 626 usage: Option<StyledStr>, in wrong_number_of_values() 657 usage: Option<StyledStr>, in unknown_argument() [all …]
|
| D | context.rs | 87 StyledStr(crate::builder::StyledStr), enumerator
|
| /external/rust/crates/clap/src/builder/ |
| D | styled_str.rs | 6 pub struct StyledStr { struct 13 impl StyledStr { implementation 239 impl Default for &'_ StyledStr { implementation 246 impl From<std::string::String> for StyledStr { implementation 254 impl From<&'_ std::string::String> for StyledStr { implementation 262 impl From<&'static str> for StyledStr { implementation 270 impl From<&'_ &'static str> for StyledStr { implementation 276 impl PartialOrd for StyledStr { implementation 282 impl Ord for StyledStr { implementation 295 impl std::fmt::Display for StyledStr { implementation
|
| D | possible_value.rs | 155 pub fn get_help(&self) -> Option<&StyledStr> { in get_help() 163 pub(crate) fn get_visible_help(&self) -> Option<&StyledStr> { in get_visible_help()
|
| D | command.rs | 779 pub fn render_help(&mut self) -> StyledStr { in render_help() 805 pub fn render_long_help(&mut self) -> StyledStr { in render_long_help() 902 pub fn render_usage(&mut self) -> StyledStr { in render_usage() 906 pub(crate) fn render_usage_(&mut self) -> Option<StyledStr> { in render_usage_() 3280 pub fn get_about(&self) -> Option<&StyledStr> { in get_about() 3288 pub fn get_long_about(&self) -> Option<&StyledStr> { in get_long_about() 3402 pub fn get_before_help(&self) -> Option<&StyledStr> { in get_before_help() 3408 pub fn get_before_long_help(&self) -> Option<&StyledStr> { in get_before_long_help() 3414 pub fn get_after_help(&self) -> Option<&StyledStr> { in get_after_help() 3420 pub fn get_after_long_help(&self) -> Option<&StyledStr> { in get_after_long_help() [all …]
|
| D | resettable.rs | 115 fn into_resettable(self) -> Resettable<StyledStr> { in into_resettable() 190 fn into_resettable(self) -> Resettable<StyledStr> { in into_resettable()
|
| D | arg.rs | 3705 pub fn get_help(&self) -> Option<&StyledStr> { in get_help() 3720 pub fn get_long_help(&self) -> Option<&StyledStr> { in get_long_help() 4142 pub(crate) fn stylized(&self, required: Option<bool>) -> StyledStr { in stylized() 4156 pub(crate) fn stylize_arg_suffix(&self, required: Option<bool>) -> StyledStr { in stylize_arg_suffix()
|
| /external/rust/crates/clap/src/output/ |
| D | usage.rs | 36 pub(crate) fn create_usage_with_title(&self, used: &[Id]) -> Option<StyledStr> { in create_usage_with_title() 48 pub(crate) fn create_usage_no_title(&self, used: &[Id]) -> Option<StyledStr> { in create_usage_no_title() 73 fn create_help_usage(&self, incl_reqs: bool) -> StyledStr { in create_help_usage() 128 fn create_smart_usage(&self, used: &[Id]) -> StyledStr { in create_smart_usage() 190 pub(crate) fn write_args(&self, incls: &[Id], force_optional: bool, styled: &mut StyledStr) { in write_args() 197 pub(crate) fn get_args(&self, incls: &[Id], force_optional: bool) -> Vec<StyledStr> { in get_args() 321 ) -> Vec<StyledStr> { in get_required_usage_from()
|
| D | help.rs | 9 pub(crate) fn write_help(writer: &mut StyledStr, cmd: &Command, usage: &Usage<'_>, use_long: bool) { in write_help()
|
| D | help_template.rs | 27 writer: &'writer mut StyledStr, in new() 87 writer: &'writer mut StyledStr, in new() 551 about: &StyledStr, in help() 881 sc_str: StyledStr, in write_subcommand() 941 fn subcmd(&mut self, sc_str: StyledStr, next_line_help: bool, longest: usize) { in subcmd() 1018 fn replace_newline_var(styled: &mut StyledStr) { in replace_newline_var()
|
| /external/rust/crates/clap/src/parser/ |
| D | validator.rs | 195 ) -> Option<StyledStr> { in build_conflict_err_usage()
|