Home
last modified time | relevance | path

Searched refs:PartialEq (Results 1 – 25 of 660) sorted by relevance

12345678910>>...27

/third_party/rust/crates/clap/tests/derive/
Dnaming.rs6 #[derive(Parser, Debug, PartialEq)] in test_standalone_long_generates_kebab_case()
21 #[derive(Parser, Debug, PartialEq)] in test_custom_long_overwrites_default_name()
35 #[derive(Parser, Debug, PartialEq)] in test_standalone_long_uses_previous_defined_custom_name()
49 #[derive(Parser, Debug, PartialEq)] in test_standalone_long_ignores_afterwards_defined_custom_name()
63 #[derive(Parser, Debug, PartialEq)] in test_standalone_long_uses_previous_defined_custom_id()
77 #[derive(Parser, Debug, PartialEq)] in test_standalone_long_ignores_afterwards_defined_custom_id()
91 #[derive(Parser, Debug, PartialEq)] in test_standalone_short_generates_kebab_case()
106 #[derive(Parser, Debug, PartialEq)] in test_custom_short_overwrites_default_name()
120 #[derive(Parser, Debug, PartialEq)] in test_standalone_short_uses_previous_defined_custom_name()
134 #[derive(Parser, Debug, PartialEq)] in test_standalone_short_ignores_afterwards_defined_custom_name()
[all …]
Dsubcommands.rs19 #[derive(Parser, PartialEq, Eq, Debug)]
90 #[derive(Parser, PartialEq, Eq, Debug)]
107 #[derive(Parser, PartialEq, Eq, Debug)]
124 #[derive(Parser, PartialEq, Eq, Debug)]
130 #[derive(Parser, PartialEq, Eq, Debug)]
134 #[derive(Parser, PartialEq, Eq, Debug)]
169 #[derive(Debug, PartialEq, Eq, Parser)] in global_passed_down()
177 #[derive(Debug, PartialEq, Eq, Subcommand)] in global_passed_down()
183 #[derive(Debug, PartialEq, Eq, Args)] in global_passed_down()
208 #[derive(Debug, PartialEq, Eq, Parser)] in external_subcommand()
[all …]
Dvalue_enum.rs14 #[derive(clap::ValueEnum, PartialEq, Debug, Clone)] in basic()
20 #[derive(Parser, PartialEq, Debug)] in basic()
43 #[derive(clap::ValueEnum, PartialEq, Debug, Clone)] in default_value()
55 #[derive(Parser, PartialEq, Debug)] in default_value()
83 #[derive(clap::ValueEnum, PartialEq, Debug, Clone)] in vec_for_default_values_t()
89 #[derive(Parser, PartialEq, Debug)] in vec_for_default_values_t()
134 #[derive(clap::ValueEnum, PartialEq, Debug, Clone)] in vec_for_default_values_os_t()
140 #[derive(Parser, PartialEq, Debug)] in vec_for_default_values_os_t()
185 #[derive(clap::ValueEnum, PartialEq, Debug, Clone)] in multi_word_is_renamed_kebab()
192 #[derive(Parser, PartialEq, Debug)] in multi_word_is_renamed_kebab()
[all …]
Dflatten.rs21 #[derive(Args, PartialEq, Debug)] in flatten()
26 #[derive(Parser, PartialEq, Debug)] in flatten()
45 #[derive(Args, PartialEq, Debug)] in flatten_twice()
50 #[derive(Parser, PartialEq, Debug)] in flatten_twice()
63 #[derive(Args, PartialEq, Debug)] in flatten_in_subcommand()
68 #[derive(Args, PartialEq, Debug)] in flatten_in_subcommand()
76 #[derive(Parser, PartialEq, Debug)] in flatten_in_subcommand()
106 #[derive(Args, PartialEq, Debug)] in update_args_with_flatten()
111 #[derive(Parser, PartialEq, Debug)] in update_args_with_flatten()
130 #[derive(Subcommand, PartialEq, Debug)]
[all …]
Dgeneric.rs5 #[derive(Args, PartialEq, Debug)] in generic_struct_flatten()
10 #[derive(Parser, PartialEq, Debug)] in generic_struct_flatten()
26 #[derive(Args, PartialEq, Debug)] in generic_struct_flatten_w_where_clause()
31 #[derive(Parser, PartialEq, Debug)] in generic_struct_flatten_w_where_clause()
50 #[derive(Args, PartialEq, Debug)] in generic_enum()
55 #[derive(Parser, PartialEq, Debug)] in generic_enum()
69 #[derive(Args, PartialEq, Debug)] in generic_enum_w_where_clause()
74 #[derive(Parser, PartialEq, Debug)] in generic_enum_w_where_clause()
93 #[derive(Parser, PartialEq, Debug)] in generic_w_fromstr_trait_bound()
112 #[derive(Parser, PartialEq, Debug)] in generic_wo_trait_bound()
[all …]
Doptions.rs23 #[derive(Parser, PartialEq, Debug)] in required_option()
50 #[derive(Parser, PartialEq, Debug)] in option_with_default()
69 #[derive(Parser, PartialEq, Debug)] in option_with_raw_default()
88 #[derive(Clone, Debug, PartialEq)] in option_from_str()
99 #[derive(Debug, Parser, PartialEq)] in option_from_str()
114 #[derive(Clone, Debug, PartialEq)] in vec_from_str()
125 #[derive(Debug, Parser, PartialEq)] in vec_from_str()
143 #[derive(Clone, Debug, PartialEq)] in option_vec_from_str()
154 #[derive(Debug, Parser, PartialEq)] in option_vec_from_str()
170 #[derive(Parser, PartialEq, Debug)] in option_type_is_optional()
[all …]
Dnested_subcommands.rs17 #[derive(Parser, PartialEq, Debug)]
27 #[derive(Subcommand, PartialEq, Debug)]
33 #[derive(Parser, PartialEq, Debug)]
110 #[derive(Parser, PartialEq, Debug)]
118 #[derive(Subcommand, PartialEq, Debug)]
128 #[derive(Subcommand, PartialEq, Debug)]
148 #[derive(Parser, PartialEq, Debug)]
159 #[derive(Subcommand, PartialEq, Debug)]
165 #[derive(Subcommand, PartialEq, Debug)]
/third_party/rust/crates/clap/src/util/
Did.rs8 #[derive(Default, Clone, Eq, PartialEq, PartialOrd, Ord, Hash)]
114 impl PartialEq<str> for Id {
117 PartialEq::eq(self.as_str(), other) in eq()
120 impl PartialEq<Id> for str {
123 PartialEq::eq(self, other.as_str()) in eq()
127 impl PartialEq<&'_ str> for Id {
130 PartialEq::eq(self.as_str(), *other) in eq()
133 impl PartialEq<Id> for &'_ str { impl
136 PartialEq::eq(*self, other.as_str()) in eq()
140 impl PartialEq<Str> for Id {
[all …]
Dflat_set.rs8 #[derive(Clone, Debug, PartialEq, Eq)]
13 impl<T: PartialEq + Eq> FlatSet<T> {
65 impl<T: PartialEq + Eq> Default for FlatSet<T> {
73 impl<T: PartialEq + Eq> IntoIterator for FlatSet<T> {
82 impl<'s, T: PartialEq + Eq> IntoIterator for &'s FlatSet<T> {
91 impl<T: PartialEq + Eq> Extend<T> for FlatSet<T> {
99 impl<T: PartialEq + Eq> FromIterator<T> for FlatSet<T> {
/third_party/rust/crates/clap/src/builder/
Dstr.rs5 #[derive(Default, Clone, Eq, PartialEq, PartialOrd, Ord, Hash)]
155 impl PartialEq<str> for Str {
158 PartialEq::eq(self.as_str(), other) in eq()
161 impl PartialEq<Str> for str {
164 PartialEq::eq(self, other.as_str()) in eq()
168 impl PartialEq<&'_ str> for Str {
171 PartialEq::eq(self.as_str(), *other) in eq()
174 impl PartialEq<Str> for &'_ str { impl
177 PartialEq::eq(*self, other.as_str()) in eq()
181 impl PartialEq<std::ffi::OsStr> for Str {
[all …]
Dos_str.rs7 #[derive(Default, Clone, Eq, PartialEq, PartialOrd, Ord, Hash)]
184 impl PartialEq<str> for OsStr {
187 PartialEq::eq(self.as_os_str(), other) in eq()
190 impl PartialEq<OsStr> for str {
193 PartialEq::eq(self, other.as_os_str()) in eq()
197 impl PartialEq<&'_ str> for OsStr {
200 PartialEq::eq(self.as_os_str(), *other) in eq()
203 impl PartialEq<OsStr> for &'_ str { impl
206 PartialEq::eq(*self, other.as_os_str()) in eq()
210 impl PartialEq<&'_ std::ffi::OsStr> for OsStr {
[all …]
/third_party/rust/crates/syn/src/gen/
Deq.rs12 impl PartialEq for Abi {
22 impl PartialEq for AngleBracketedGenericArguments {
32 impl PartialEq for Arm {
43 impl PartialEq for AttrStyle {
57 impl PartialEq for Attribute {
68 impl PartialEq for BareFnArg {
78 impl PartialEq for BinOp {
118 impl PartialEq for Binding {
128 impl PartialEq for Block {
138 impl PartialEq for BoundLifetimes {
[all …]
/third_party/rust/crates/regex/regex-syntax/src/ast/
Dmod.rs22 #[derive(Clone, Debug, Eq, PartialEq)]
68 #[derive(Clone, Debug, Eq, PartialEq)]
322 #[derive(Clone, Copy, Eq, PartialEq)]
352 #[derive(Clone, Copy, Eq, PartialEq)]
440 #[derive(Clone, Debug, Eq, PartialEq)]
452 #[derive(Clone, Debug, Eq, PartialEq)]
468 #[derive(Clone, Debug, Eq, PartialEq)]
552 #[derive(Clone, Debug, Eq, PartialEq)]
576 #[derive(Clone, Debug, Eq, PartialEq)]
604 #[derive(Clone, Debug, Eq, PartialEq)]
[all …]
/third_party/rust/crates/bindgen/bindgen-tests/tests/expectations/tests/
Denum_explicit_type.rs9 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
15 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
21 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
27 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
32 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
37 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
42 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
48 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
57 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
Dissue-493_1_0.rs45 impl<T> ::std::cmp::PartialEq for __BindgenUnionField<T> {
52 #[derive(Debug, Default, Copy, Clone, Hash, PartialEq, Eq)]
60 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
78 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
83 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
89 #[derive(Debug, Default, Copy, Clone, Hash, PartialEq, Eq)]
105 #[derive(Debug, Default, Copy, Clone, Hash, PartialEq, Eq)]
114 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
119 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
133 #[derive(Debug, Default, Copy, Clone, Hash, PartialEq, Eq)]
[all …]
/third_party/rust/crates/serde/test_suite/tests/
Dtest_annotations.rs81 #[derive(Debug, PartialEq, Serialize, Deserialize)]
98 #[derive(Debug, PartialEq, Serialize, Deserialize)]
107 #[derive(Debug, PartialEq, Serialize, Deserialize)]
115 #[derive(Debug, PartialEq, Serialize, Deserialize)]
123 #[derive(Debug, PartialEq, Serialize, Deserialize)]
129 #[derive(Debug, PartialEq, Serialize, Deserialize)]
136 #[derive(Debug, PartialEq, Serialize, Deserialize)]
139 #[derive(Debug, PartialEq, Serialize, Deserialize)]
146 #[derive(Debug, PartialEq, Serialize, Deserialize)]
229 #[derive(Debug, PartialEq, Serialize, Deserialize)]
[all …]
Dtest_macros.rs25 #[derive(Debug, PartialEq, Serialize, Deserialize)]
28 #[derive(Debug, PartialEq, Serialize)]
31 #[derive(Debug, PartialEq, Deserialize)]
34 #[derive(Debug, PartialEq, Serialize)]
41 #[derive(Debug, PartialEq, Deserialize)]
48 #[derive(Debug, PartialEq, Serialize)]
63 #[derive(Debug, PartialEq, Serialize, Deserialize)]
83 #[derive(Debug, PartialEq, Serialize, Deserialize)]
88 #[derive(Debug, PartialEq, Serialize, Deserialize)]
91 #[derive(Debug, PartialEq, Serialize, Deserialize)]
[all …]
/third_party/rust/crates/clap/src/
Dmkeymap.rs8 #[derive(PartialEq, Eq, Debug, Clone)]
14 #[derive(Default, PartialEq, Eq, Debug, Clone)]
24 #[derive(Debug, PartialEq, Eq, Hash, Clone)]
37 impl PartialEq<usize> for KeyType {
46 impl PartialEq<&str> for KeyType {
55 impl PartialEq<str> for KeyType {
64 impl PartialEq<OsStr> for KeyType {
73 impl PartialEq<char> for KeyType {
88 KeyType: PartialEq<K>, in contains()
103 KeyType: PartialEq<K>, in get()
/third_party/rust/crates/bitflags/tests/compile-fail/impls/
Deq.stderr.beta1 error[E0119]: conflicting implementations of trait `std::cmp::PartialEq` for type `Flags`
5 4 | | #[derive(PartialEq, Eq)]
13 …= note: this error originates in the derive macro `PartialEq` (in Nightly builds, run with -Z macr…
19 4 | | #[derive(PartialEq, Eq)]
33 4 | | #[derive(PartialEq, Eq)]
41 …= note: this error originates in the derive macro `PartialEq` (in Nightly builds, run with -Z macr…
47 4 | | #[derive(PartialEq, Eq)]
/third_party/rust/crates/linux-raw-sys/src/riscv64/
Dnetlink.rs344 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
378 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
390 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
409 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
433 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
579 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
649 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
661 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
680 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
696 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
[all …]
/third_party/rust/crates/linux-raw-sys/src/sparc/
Dnetlink.rs345 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
379 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
391 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
410 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
434 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
580 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
650 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
662 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
681 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
697 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
[all …]
/third_party/rust/crates/linux-raw-sys/src/powerpc64/
Dnetlink.rs351 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
385 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
397 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
416 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
440 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
586 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
656 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
668 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
687 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
703 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
[all …]
/third_party/rust/crates/linux-raw-sys/src/mips64/
Dnetlink.rs354 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
388 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
400 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
419 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
443 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
589 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
659 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
671 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
690 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
706 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
[all …]
/third_party/rust/crates/linux-raw-sys/src/x32/
Dnetlink.rs345 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
379 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
391 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
410 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
434 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
580 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
650 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
662 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
681 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
697 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
[all …]
/third_party/rust/crates/linux-raw-sys/src/riscv32/
Dnetlink.rs344 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
378 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
390 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
409 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
433 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
579 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
649 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
661 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
680 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
696 #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
[all …]

12345678910>>...27