Lines Matching refs:cxx

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