Lines Matching full:cxx
18 Trait::Eq => traits.push(quote_spanned!(span=> ::cxx::core::cmp::Eq)), in expand_struct()
20 Trait::Hash => traits.push(quote_spanned!(span=> ::cxx::core::hash::Hash)), in expand_struct()
22 Trait::PartialEq => traits.push(quote_spanned!(span=> ::cxx::core::cmp::PartialEq)), in expand_struct()
60 traits.push(quote_spanned!(span=> ::cxx::core::cmp::Eq)); in expand_enum()
64 Trait::Hash => traits.push(quote_spanned!(span=> ::cxx::core::hash::Hash)), in expand_enum()
67 traits.push(quote_spanned!(span=> ::cxx::core::cmp::PartialEq)); in expand_enum()
86 traits.push(quote!(::cxx::core::cmp::Eq)); in expand_enum()
89 traits.push(quote!(::cxx::core::cmp::PartialEq)); in expand_enum()
102 impl #generics ::cxx::core::marker::Copy for #ident #generics {} in struct_copy()
121 #(#fields: ::cxx::core::clone::Clone::clone(#values),)* in struct_clone()
127 impl #generics ::cxx::core::clone::Clone for #ident #generics { in struct_clone()
143 impl #generics ::cxx::core::fmt::Debug for #ident #generics { in struct_debug()
144 … fn fmt(&self, formatter: &mut ::cxx::core::fmt::Formatter<'_>) -> ::cxx::core::fmt::Result { in struct_debug()
160 impl #generics ::cxx::core::default::Default for #ident #generics { in struct_default()
164 #fields: ::cxx::core::default::Default::default(), in struct_default()
178 impl #generics ::cxx::core::cmp::Ord for #ident #generics { in struct_ord()
179 fn cmp(&self, other: &Self) -> ::cxx::core::cmp::Ordering { in struct_ord()
181 match ::cxx::core::cmp::Ord::cmp(&self.#fields, &other.#fields) { in struct_ord()
182 ::cxx::core::cmp::Ordering::Equal => {} in struct_ord()
186 ::cxx::core::cmp::Ordering::Equal in struct_ord()
198 ::cxx::core::option::Option::Some(::cxx::core::cmp::Ord::cmp(self, other)) in struct_partial_ord()
204 match ::cxx::core::cmp::PartialOrd::partial_cmp(&self.#fields, &other.#fields) { in struct_partial_ord()
205 ::cxx::core::option::Option::Some(::cxx::core::cmp::Ordering::Equal) => {} in struct_partial_ord()
209 ::cxx::core::option::Option::Some(::cxx::core::cmp::Ordering::Equal) in struct_partial_ord()
214 impl #generics ::cxx::core::cmp::PartialOrd for #ident #generics { in struct_partial_ord()
215 … fn partial_cmp(&self, other: &Self) -> ::cxx::core::option::Option<::cxx::core::cmp::Ordering> { in struct_partial_ord()
226 impl ::cxx::core::marker::Copy for #ident {} in enum_copy()
235 impl ::cxx::core::clone::Clone for #ident { in enum_clone()
255 impl ::cxx::core::fmt::Debug for #ident { in enum_debug()
256 … fn fmt(&self, formatter: &mut ::cxx::core::fmt::Formatter<'_>) -> ::cxx::core::fmt::Result { in enum_debug()
259 _ => ::cxx::core::write!(formatter, #fallback, self.repr), in enum_debug()
270 impl ::cxx::core::cmp::Ord for #ident { in enum_ord()
271 fn cmp(&self, other: &Self) -> ::cxx::core::cmp::Ordering { in enum_ord()
272 ::cxx::core::cmp::Ord::cmp(&self.repr, &other.repr) in enum_ord()
282 impl ::cxx::core::cmp::PartialOrd for #ident { in enum_partial_ord()
283 … fn partial_cmp(&self, other: &Self) -> ::cxx::core::option::Option<::cxx::core::cmp::Ordering> { in enum_partial_ord()
284 ::cxx::core::cmp::PartialOrd::partial_cmp(&self.repr, &other.repr) in enum_partial_ord()