/third_party/rust/crates/clap/tests/derive/ |
D | value_enum.rs | 14 #[derive(clap::ValueEnum, PartialEq, Debug, Clone)] in basic() 43 #[derive(clap::ValueEnum, PartialEq, Debug, Clone)] in default_value() 83 #[derive(clap::ValueEnum, PartialEq, Debug, Clone)] in vec_for_default_values_t() 97 default_values_t = clap::ValueEnum::value_variants() in vec_for_default_values_t() 134 #[derive(clap::ValueEnum, PartialEq, Debug, Clone)] in vec_for_default_values_os_t() 148 default_values_os_t = clap::ValueEnum::value_variants() in vec_for_default_values_os_t() 185 #[derive(clap::ValueEnum, PartialEq, Debug, Clone)] in multi_word_is_renamed_kebab() 215 #[derive(clap::ValueEnum, PartialEq, Debug, Clone)] in variant_with_defined_casing() 238 #[derive(clap::ValueEnum, PartialEq, Debug, Clone)] in casing_is_propagated_from_parent() 261 #[derive(clap::ValueEnum, PartialEq, Debug, Clone)] in casing_propagation_is_overridden() [all …]
|
D | type_alias_regressions.rs | 3 use clap::{Parser, Subcommand, ValueEnum}; 25 #[derive(ValueEnum, PartialEq, Debug, Clone)]
|
D | doc_comments_help.rs | 17 use clap::{CommandFactory, Parser, Subcommand, ValueEnum}; 221 #[derive(ValueEnum, Clone, PartialEq, Debug)] in value_enum_multiline_doc_comment()
|
/third_party/rust/crates/clap/tests/derive_ui/ |
D | value_enum_on_struct.stderr | 1 error: `#[derive(ValueEnum)]` only supports enums 4 3 | #[derive(ValueEnum, Clone, Debug)] 7 …= note: this error originates in the derive macro `ValueEnum` (in Nightly builds, run with -Z macr…
|
D | bool_value_enum.stderr | 1 error[E0277]: the trait bound `bool: ValueEnum` is not satisfied 5 | ^^^^^^^^^^^^^^^ the trait `ValueEnum` is not implemented for `bool` 7 = help: the trait `ValueEnum` is implemented for `ColorChoice`
|
D | value_enum_on_struct.rs | 1 use clap::ValueEnum; 3 #[derive(ValueEnum, Clone, Debug)]
|
D | value_enum_non_unit.rs | 1 use clap::ValueEnum; 3 #[derive(ValueEnum, Clone, Debug)]
|
D | value_enum_non_unit.stderr | 1 error: `#[derive(ValueEnum)]` only supports unit variants. Non-unit variants must be skipped
|
/third_party/rust/crates/clap/examples/tutorial_derive/ |
D | 04_01_enum.rs | 1 use clap::{Parser, ValueEnum}; 11 #[derive(Copy, Clone, PartialEq, Eq, PartialOrd, Ord, ValueEnum)]
|
/third_party/rust/crates/clap/src/util/ |
D | color.rs | 2 use crate::derive::ValueEnum; 89 impl ValueEnum for ColorChoice {
|
/third_party/rust/crates/clap/examples/tutorial_builder/ |
D | 04_01_enum.rs | 1 use clap::{arg, builder::PossibleValue, command, value_parser, ValueEnum}; 10 impl ValueEnum for Mode {
|
/third_party/rust/crates/clap/clap_complete/src/shells/ |
D | shell.rs | 6 use clap::ValueEnum; 50 impl ValueEnum for Shell {
|
/third_party/rust/crates/clap/examples/ |
D | git-derive.rs | 5 use clap::{Args, Parser, Subcommand, ValueEnum}; 61 #[derive(ValueEnum, Copy, Clone, Debug, PartialEq, Eq)]
|
D | typed-derive.md | 15 …--log-level <LOG_LEVEL> Support enums from a foreign crate that don't implement `ValueEnum` [defa… 109 Enums from crates that can't implement `ValueEnum`
|
/third_party/rust/crates/clap/clap_derive/src/ |
D | item.rs | 490 Some(MagicAttrName::ValueEnum) if attr.value.is_none() => { in push_attrs() 561 .any(|a| a.magic == Some(MagicAttrName::ValueEnum)) in push_attrs() 566 … clap::ValueEnum::to_possible_value(&val).unwrap().get_name().to_owned() in push_attrs() 617 .any(|a| a.magic == Some(MagicAttrName::ValueEnum)) in push_attrs() 628 … clap::ValueEnum::to_possible_value(val.borrow()).unwrap().get_name().to_owned() in push_attrs() 693 .any(|a| a.magic == Some(MagicAttrName::ValueEnum)) in push_attrs() 698 … clap::ValueEnum::to_possible_value(&val).unwrap().get_name().to_owned() in push_attrs() 749 .any(|a| a.magic == Some(MagicAttrName::ValueEnum)) in push_attrs() 760 … clap::ValueEnum::to_possible_value(val.borrow()).unwrap().get_name().to_owned().into() in push_attrs() 854 Some(MagicAttrName::ValueEnum) in push_attrs()
|
D | attr.rs | 95 "value_enum" => Some(MagicAttrName::ValueEnum), in parse() 152 ValueEnum, enumerator
|
D | dummies.rs | 81 impl clap::ValueEnum for #name { in value_enum()
|
D | lib.rs | 35 #[proc_macro_derive(ValueEnum, attributes(clap, value))]
|
/third_party/rust/crates/clap/src/ |
D | lib.rs | 115 pub use crate::derive::{Args, CommandFactory, FromArgMatches, Parser, Subcommand, ValueEnum};
|
D | derive.rs | 374 pub trait ValueEnum: Sized + Clone { trait
|
/third_party/rust/crates/clap/src/builder/ |
D | value_parser.rs | 1024 pub struct EnumValueParser<E: crate::ValueEnum + Clone + Send + Sync + 'static>( 1028 impl<E: crate::ValueEnum + Clone + Send + Sync + 'static> EnumValueParser<E> { 1036 impl<E: crate::ValueEnum + Clone + Send + Sync + 'static> TypedValueParser for EnumValueParser<E> { 1095 impl<E: crate::ValueEnum + Clone + Send + Sync + 'static> Default for EnumValueParser<E> { 2226 impl<E: crate::ValueEnum + Clone + Send + Sync + 'static> _ValueParserViaValueEnum 2384 impl<E: crate::ValueEnum> _ValueParserViaValueEnumSealed for &&&&&_AutoValueParser<E> {}
|
/third_party/rust/crates/clap/clap_derive/src/derives/ |
D | value_enum.rs | 67 impl clap::ValueEnum for #item_name { in gen_for_enum()
|
/third_party/skia/third_party/externals/spirv-tools/utils/vscode/src/schema/ |
D | schema.go.tmpl | 85 OperandCategoryValueEnum = "ValueEnum"
|
/third_party/spirv-tools/utils/vscode/src/schema/ |
D | schema.go.tmpl | 85 OperandCategoryValueEnum = "ValueEnum"
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/utils/vscode/src/schema/ |
D | schema.go.tmpl | 85 OperandCategoryValueEnum = "ValueEnum"
|