Lines Matching refs:other

13     fn eq(&self, other: &Self) -> bool {
14 self.name == other.name
23 fn eq(&self, other: &Self) -> bool {
24 self.colon2_token == other.colon2_token && self.args == other.args
33 fn eq(&self, other: &Self) -> bool {
34 self.attrs == other.attrs && self.pat == other.pat && self.guard == other.guard
35 && self.body == other.body && self.comma == other.comma
44 fn eq(&self, other: &Self) -> bool {
45 self.ident == other.ident && self.generics == other.generics
46 && self.value == other.value
55 fn eq(&self, other: &Self) -> bool {
56 self.ident == other.ident && self.generics == other.generics
57 && self.ty == other.ty
66 fn eq(&self, other: &Self) -> bool {
67 match (self, other) {
80 fn eq(&self, other: &Self) -> bool {
81 self.style == other.style && self.meta == other.meta
90 fn eq(&self, other: &Self) -> bool {
91 self.attrs == other.attrs && self.name == other.name && self.ty == other.ty
100 fn eq(&self, other: &Self) -> bool {
101 self.attrs == other.attrs && self.name == other.name && self.comma == other.comma
110 fn eq(&self, other: &Self) -> bool {
111 match (self, other) {
150 fn eq(&self, other: &Self) -> bool {
151 self.stmts == other.stmts
160 fn eq(&self, other: &Self) -> bool {
161 self.lifetimes == other.lifetimes
170 fn eq(&self, other: &Self) -> bool {
171 self.attrs == other.attrs && self.ident == other.ident && self.ty == other.ty
172 && self.eq_token == other.eq_token && self.default == other.default
181 fn eq(&self, other: &Self) -> bool {
182 self.ident == other.ident && self.generics == other.generics
183 && self.bounds == other.bounds
192 fn eq(&self, other: &Self) -> bool {
193 match (self, other) {
207 fn eq(&self, other: &Self) -> bool {
208 self.variants == other.variants
217 fn eq(&self, other: &Self) -> bool {
218 self.fields == other.fields && self.semi_token == other.semi_token
227 fn eq(&self, other: &Self) -> bool {
228 self.fields == other.fields
237 fn eq(&self, other: &Self) -> bool {
238 self.attrs == other.attrs && self.vis == other.vis && self.ident == other.ident
239 && self.generics == other.generics && self.data == other.data
248 fn eq(&self, other: &Self) -> bool {
249 match (self, other) {
325 fn eq(&self, other: &Self) -> bool {
326 self.attrs == other.attrs && self.elems == other.elems
335 fn eq(&self, other: &Self) -> bool {
336 self.attrs == other.attrs && self.left == other.left && self.right == other.right
345 fn eq(&self, other: &Self) -> bool {
346 self.attrs == other.attrs && self.capture == other.capture
347 && self.block == other.block
356 fn eq(&self, other: &Self) -> bool {
357 self.attrs == other.attrs && self.base == other.base
366 fn eq(&self, other: &Self) -> bool {
367 self.attrs == other.attrs && self.left == other.left && self.op == other.op
368 && self.right == other.right
377 fn eq(&self, other: &Self) -> bool {
378 self.attrs == other.attrs && self.label == other.label
379 && self.block == other.block
388 fn eq(&self, other: &Self) -> bool {
389 self.attrs == other.attrs && self.label == other.label && self.expr == other.expr
398 fn eq(&self, other: &Self) -> bool {
399 self.attrs == other.attrs && self.func == other.func && self.args == other.args
408 fn eq(&self, other: &Self) -> bool {
409 self.attrs == other.attrs && self.expr == other.expr && self.ty == other.ty
418 fn eq(&self, other: &Self) -> bool {
419 self.attrs == other.attrs && self.lifetimes == other.lifetimes
420 && self.constness == other.constness && self.movability == other.movability
421 && self.asyncness == other.asyncness && self.capture == other.capture
422 && self.inputs == other.inputs && self.output == other.output
423 && self.body == other.body
432 fn eq(&self, other: &Self) -> bool {
433 self.attrs == other.attrs && self.block == other.block
442 fn eq(&self, other: &Self) -> bool {
443 self.attrs == other.attrs && self.label == other.label
452 fn eq(&self, other: &Self) -> bool {
453 self.attrs == other.attrs && self.base == other.base
454 && self.member == other.member
463 fn eq(&self, other: &Self) -> bool {
464 self.attrs == other.attrs && self.label == other.label && self.pat == other.pat
465 && self.expr == other.expr && self.body == other.body
474 fn eq(&self, other: &Self) -> bool {
475 self.attrs == other.attrs && self.expr == other.expr
484 fn eq(&self, other: &Self) -> bool {
485 self.attrs == other.attrs && self.cond == other.cond
486 && self.then_branch == other.then_branch
487 && self.else_branch == other.else_branch
496 fn eq(&self, other: &Self) -> bool {
497 self.attrs == other.attrs && self.expr == other.expr && self.index == other.index
506 fn eq(&self, other: &Self) -> bool {
507 self.attrs == other.attrs
516 fn eq(&self, other: &Self) -> bool {
517 self.attrs == other.attrs && self.pat == other.pat && self.expr == other.expr
526 fn eq(&self, other: &Self) -> bool {
527 self.attrs == other.attrs && self.lit == other.lit
536 fn eq(&self, other: &Self) -> bool {
537 self.attrs == other.attrs && self.label == other.label && self.body == other.body
546 fn eq(&self, other: &Self) -> bool {
547 self.attrs == other.attrs && self.mac == other.mac
556 fn eq(&self, other: &Self) -> bool {
557 self.attrs == other.attrs && self.expr == other.expr && self.arms == other.arms
566 fn eq(&self, other: &Self) -> bool {
567 self.attrs == other.attrs && self.receiver == other.receiver
568 && self.method == other.method && self.turbofish == other.turbofish
569 && self.args == other.args
578 fn eq(&self, other: &Self) -> bool {
579 self.attrs == other.attrs && self.expr == other.expr
588 fn eq(&self, other: &Self) -> bool {
589 self.attrs == other.attrs && self.qself == other.qself && self.path == other.path
598 fn eq(&self, other: &Self) -> bool {
599 self.attrs == other.attrs && self.start == other.start
600 && self.limits == other.limits && self.end == other.end
609 fn eq(&self, other: &Self) -> bool {
610 self.attrs == other.attrs && self.mutability == other.mutability
611 && self.expr == other.expr
620 fn eq(&self, other: &Self) -> bool {
621 self.attrs == other.attrs && self.expr == other.expr && self.len == other.len
630 fn eq(&self, other: &Self) -> bool {
631 self.attrs == other.attrs && self.expr == other.expr
640 fn eq(&self, other: &Self) -> bool {
641 self.attrs == other.attrs && self.qself == other.qself && self.path == other.path
642 && self.fields == other.fields && self.dot2_token == other.dot2_token
643 && self.rest == other.rest
652 fn eq(&self, other: &Self) -> bool {
653 self.attrs == other.attrs && self.expr == other.expr
662 fn eq(&self, other: &Self) -> bool {
663 self.attrs == other.attrs && self.block == other.block
672 fn eq(&self, other: &Self) -> bool {
673 self.attrs == other.attrs && self.elems == other.elems
682 fn eq(&self, other: &Self) -> bool {
683 self.attrs == other.attrs && self.op == other.op && self.expr == other.expr
692 fn eq(&self, other: &Self) -> bool {
693 self.attrs == other.attrs && self.block == other.block
702 fn eq(&self, other: &Self) -> bool {
703 self.attrs == other.attrs && self.label == other.label && self.cond == other.cond
704 && self.body == other.body
713 fn eq(&self, other: &Self) -> bool {
714 self.attrs == other.attrs && self.expr == other.expr
723 fn eq(&self, other: &Self) -> bool {
724 self.attrs == other.attrs && self.vis == other.vis
725 && self.mutability == other.mutability && self.ident == other.ident
726 && self.colon_token == other.colon_token && self.ty == other.ty
735 fn eq(&self, other: &Self) -> bool {
736 match (self, other) {
747 fn eq(&self, other: &Self) -> bool {
748 self.attrs == other.attrs && self.member == other.member
749 && self.colon_token == other.colon_token && self.pat == other.pat
758 fn eq(&self, other: &Self) -> bool {
759 self.attrs == other.attrs && self.member == other.member
760 && self.colon_token == other.colon_token && self.expr == other.expr
769 fn eq(&self, other: &Self) -> bool {
770 match (self, other) {
784 fn eq(&self, other: &Self) -> bool {
785 self.named == other.named
794 fn eq(&self, other: &Self) -> bool {
795 self.unnamed == other.unnamed
804 fn eq(&self, other: &Self) -> bool {
805 self.shebang == other.shebang && self.attrs == other.attrs
806 && self.items == other.items
815 fn eq(&self, other: &Self) -> bool {
816 match (self, other) {
829 fn eq(&self, other: &Self) -> bool {
830 match (self, other) {
848 fn eq(&self, other: &Self) -> bool {
849 self.attrs == other.attrs && self.vis == other.vis && self.sig == other.sig
858 fn eq(&self, other: &Self) -> bool {
859 self.attrs == other.attrs && self.mac == other.mac
860 && self.semi_token == other.semi_token
869 fn eq(&self, other: &Self) -> bool {
870 self.attrs == other.attrs && self.vis == other.vis
871 && self.mutability == other.mutability && self.ident == other.ident
872 && self.ty == other.ty
881 fn eq(&self, other: &Self) -> bool {
882 self.attrs == other.attrs && self.vis == other.vis && self.ident == other.ident
883 && self.generics == other.generics
892 fn eq(&self, other: &Self) -> bool {
893 match (self, other) {
922 fn eq(&self, other: &Self) -> bool {
923 match (self, other) {
939 fn eq(&self, other: &Self) -> bool {
940 self.lt_token == other.lt_token && self.params == other.params
941 && self.gt_token == other.gt_token && self.where_clause == other.where_clause
950 fn eq(&self, other: &Self) -> bool {
951 match (self, other) {
969 fn eq(&self, other: &Self) -> bool {
970 self.attrs == other.attrs && self.vis == other.vis
971 && self.defaultness == other.defaultness && self.ident == other.ident
972 && self.generics == other.generics && self.ty == other.ty
973 && self.expr == other.expr
982 fn eq(&self, other: &Self) -> bool {
983 self.attrs == other.attrs && self.vis == other.vis
984 && self.defaultness == other.defaultness && self.sig == other.sig
985 && self.block == other.block
994 fn eq(&self, other: &Self) -> bool {
995 self.attrs == other.attrs && self.mac == other.mac
996 && self.semi_token == other.semi_token
1005 fn eq(&self, other: &Self) -> bool {
1006 self.attrs == other.attrs && self.vis == other.vis
1007 && self.defaultness == other.defaultness && self.ident == other.ident
1008 && self.generics == other.generics && self.ty == other.ty
1027 fn eq(&self, other: &Self) -> bool {
1028 match (self, other) {
1057 fn eq(&self, other: &Self) -> bool {
1058 self.attrs == other.attrs && self.vis == other.vis && self.ident == other.ident
1059 && self.generics == other.generics && self.ty == other.ty
1060 && self.expr == other.expr
1069 fn eq(&self, other: &Self) -> bool {
1070 self.attrs == other.attrs && self.vis == other.vis && self.ident == other.ident
1071 && self.generics == other.generics && self.variants == other.variants
1080 fn eq(&self, other: &Self) -> bool {
1081 self.attrs == other.attrs && self.vis == other.vis && self.ident == other.ident
1082 && self.rename == other.rename
1091 fn eq(&self, other: &Self) -> bool {
1092 self.attrs == other.attrs && self.vis == other.vis && self.sig == other.sig
1093 && self.block == other.block
1102 fn eq(&self, other: &Self) -> bool {
1103 self.attrs == other.attrs && self.unsafety == other.unsafety
1104 && self.abi == other.abi && self.items == other.items
1113 fn eq(&self, other: &Self) -> bool {
1114 self.attrs == other.attrs && self.defaultness == other.defaultness
1115 && self.unsafety == other.unsafety && self.generics == other.generics
1116 && self.trait_ == other.trait_ && self.self_ty == other.self_ty
1117 && self.items == other.items
1126 fn eq(&self, other: &Self) -> bool {
1127 self.attrs == other.attrs && self.ident == other.ident && self.mac == other.mac
1128 && self.semi_token == other.semi_token
1137 fn eq(&self, other: &Self) -> bool {
1138 self.attrs == other.attrs && self.vis == other.vis
1139 && self.unsafety == other.unsafety && self.ident == other.ident
1140 && self.content == other.content && self.semi == other.semi
1149 fn eq(&self, other: &Self) -> bool {
1150 self.attrs == other.attrs && self.vis == other.vis
1151 && self.mutability == other.mutability && self.ident == other.ident
1152 && self.ty == other.ty && self.expr == other.expr
1161 fn eq(&self, other: &Self) -> bool {
1162 self.attrs == other.attrs && self.vis == other.vis && self.ident == other.ident
1163 && self.generics == other.generics && self.fields == other.fields
1164 && self.semi_token == other.semi_token
1173 fn eq(&self, other: &Self) -> bool {
1174 self.attrs == other.attrs && self.vis == other.vis
1175 && self.unsafety == other.unsafety && self.auto_token == other.auto_token
1176 && self.restriction == other.restriction && self.ident == other.ident
1177 && self.generics == other.generics && self.colon_token == other.colon_token
1178 && self.supertraits == other.supertraits && self.items == other.items
1187 fn eq(&self, other: &Self) -> bool {
1188 self.attrs == other.attrs && self.vis == other.vis && self.ident == other.ident
1189 && self.generics == other.generics && self.bounds == other.bounds
1198 fn eq(&self, other: &Self) -> bool {
1199 self.attrs == other.attrs && self.vis == other.vis && self.ident == other.ident
1200 && self.generics == other.generics && self.ty == other.ty
1209 fn eq(&self, other: &Self) -> bool {
1210 self.attrs == other.attrs && self.vis == other.vis && self.ident == other.ident
1211 && self.generics == other.generics && self.fields == other.fields
1220 fn eq(&self, other: &Self) -> bool {
1221 self.attrs == other.attrs && self.vis == other.vis
1222 && self.leading_colon == other.leading_colon && self.tree == other.tree
1231 fn eq(&self, other: &Self) -> bool {
1232 self.name == other.name
1241 fn eq(&self, other: &Self) -> bool {
1242 self.attrs == other.attrs && self.lifetime == other.lifetime
1243 && self.colon_token == other.colon_token && self.bounds == other.bounds
1250 fn eq(&self, other: &Self) -> bool {
1251 match (self, other) {
1270 fn eq(&self, other: &Self) -> bool {
1271 self.value == other.value
1292 fn eq(&self, other: &Self) -> bool {
1293 self.attrs == other.attrs && self.pat == other.pat && self.init == other.init
1302 fn eq(&self, other: &Self) -> bool {
1303 self.expr == other.expr && self.diverge == other.diverge
1312 fn eq(&self, other: &Self) -> bool {
1313 self.path == other.path && self.delimiter == other.delimiter
1314 && TokenStreamHelper(&self.tokens) == TokenStreamHelper(&other.tokens)
1323 fn eq(&self, other: &Self) -> bool {
1324 match (self, other) {
1338 fn eq(&self, other: &Self) -> bool {
1339 match (self, other) {
1353 fn eq(&self, other: &Self) -> bool {
1354 self.path == other.path && self.delimiter == other.delimiter
1355 && TokenStreamHelper(&self.tokens) == TokenStreamHelper(&other.tokens)
1364 fn eq(&self, other: &Self) -> bool {
1365 self.path == other.path && self.value == other.value
1374 fn eq(&self, other: &Self) -> bool {
1375 self.inputs == other.inputs && self.output == other.output
1384 fn eq(&self, other: &Self) -> bool {
1385 match (self, other) {
1415 fn eq(&self, other: &Self) -> bool {
1416 self.attrs == other.attrs && self.by_ref == other.by_ref
1417 && self.mutability == other.mutability && self.ident == other.ident
1418 && self.subpat == other.subpat
1427 fn eq(&self, other: &Self) -> bool {
1428 self.attrs == other.attrs && self.leading_vert == other.leading_vert
1429 && self.cases == other.cases
1438 fn eq(&self, other: &Self) -> bool {
1439 self.attrs == other.attrs && self.pat == other.pat
1448 fn eq(&self, other: &Self) -> bool {
1449 self.attrs == other.attrs && self.mutability == other.mutability
1450 && self.pat == other.pat
1459 fn eq(&self, other: &Self) -> bool {
1460 self.attrs == other.attrs
1469 fn eq(&self, other: &Self) -> bool {
1470 self.attrs == other.attrs && self.elems == other.elems
1479 fn eq(&self, other: &Self) -> bool {
1480 self.attrs == other.attrs && self.qself == other.qself && self.path == other.path
1481 && self.fields == other.fields && self.rest == other.rest
1490 fn eq(&self, other: &Self) -> bool {
1491 self.attrs == other.attrs && self.elems == other.elems
1500 fn eq(&self, other: &Self) -> bool {
1501 self.attrs == other.attrs && self.qself == other.qself && self.path == other.path
1502 && self.elems == other.elems
1511 fn eq(&self, other: &Self) -> bool {
1512 self.attrs == other.attrs && self.pat == other.pat && self.ty == other.ty
1521 fn eq(&self, other: &Self) -> bool {
1522 self.attrs == other.attrs
1531 fn eq(&self, other: &Self) -> bool {
1532 self.leading_colon == other.leading_colon && self.segments == other.segments
1541 fn eq(&self, other: &Self) -> bool {
1542 match (self, other) {
1562 fn eq(&self, other: &Self) -> bool {
1563 self.ident == other.ident && self.arguments == other.arguments
1572 fn eq(&self, other: &Self) -> bool {
1573 self.lifetime == other.lifetime && self.bounds == other.bounds
1582 fn eq(&self, other: &Self) -> bool {
1583 self.lifetimes == other.lifetimes && self.bounded_ty == other.bounded_ty
1584 && self.bounds == other.bounds
1593 fn eq(&self, other: &Self) -> bool {
1594 self.ty == other.ty && self.position == other.position
1595 && self.as_token == other.as_token
1604 fn eq(&self, other: &Self) -> bool {
1605 match (self, other) {
1618 fn eq(&self, other: &Self) -> bool {
1619 self.attrs == other.attrs && self.reference == other.reference
1620 && self.mutability == other.mutability
1621 && self.colon_token == other.colon_token && self.ty == other.ty
1630 fn eq(&self, other: &Self) -> bool {
1631 match (self, other) {
1644 fn eq(&self, other: &Self) -> bool {
1645 self.constness == other.constness && self.asyncness == other.asyncness
1646 && self.unsafety == other.unsafety && self.abi == other.abi
1647 && self.ident == other.ident && self.generics == other.generics
1648 && self.inputs == other.inputs && self.variadic == other.variadic
1649 && self.output == other.output
1658 fn eq(&self, other: &Self) -> bool {
1659 match (self, other) {
1672 fn eq(&self, other: &Self) -> bool {
1673 match (self, other) {
1690 fn eq(&self, other: &Self) -> bool {
1691 self.attrs == other.attrs && self.mac == other.mac
1692 && self.semi_token == other.semi_token
1701 fn eq(&self, other: &Self) -> bool {
1702 self.paren_token == other.paren_token && self.modifier == other.modifier
1703 && self.lifetimes == other.lifetimes && self.path == other.path
1712 fn eq(&self, other: &Self) -> bool {
1713 match (self, other) {
1726 fn eq(&self, other: &Self) -> bool {
1727 match (self, other) {
1745 fn eq(&self, other: &Self) -> bool {
1746 self.attrs == other.attrs && self.ident == other.ident
1747 && self.generics == other.generics && self.ty == other.ty
1748 && self.default == other.default
1757 fn eq(&self, other: &Self) -> bool {
1758 self.attrs == other.attrs && self.sig == other.sig
1759 && self.default == other.default && self.semi_token == other.semi_token
1768 fn eq(&self, other: &Self) -> bool {
1769 self.attrs == other.attrs && self.mac == other.mac
1770 && self.semi_token == other.semi_token
1779 fn eq(&self, other: &Self) -> bool {
1780 self.attrs == other.attrs && self.ident == other.ident
1781 && self.generics == other.generics && self.colon_token == other.colon_token
1782 && self.bounds == other.bounds && self.default == other.default
1791 fn eq(&self, other: &Self) -> bool {
1792 match (self, other) {
1820 fn eq(&self, other: &Self) -> bool {
1821 self.elem == other.elem && self.len == other.len
1830 fn eq(&self, other: &Self) -> bool {
1831 self.lifetimes == other.lifetimes && self.unsafety == other.unsafety
1832 && self.abi == other.abi && self.inputs == other.inputs
1833 && self.variadic == other.variadic && self.output == other.output
1842 fn eq(&self, other: &Self) -> bool {
1843 self.elem == other.elem
1852 fn eq(&self, other: &Self) -> bool {
1853 self.bounds == other.bounds
1872 fn eq(&self, other: &Self) -> bool {
1873 self.mac == other.mac
1892 fn eq(&self, other: &Self) -> bool {
1893 self.attrs == other.attrs && self.ident == other.ident
1894 && self.colon_token == other.colon_token && self.bounds == other.bounds
1895 && self.eq_token == other.eq_token && self.default == other.default
1904 fn eq(&self, other: &Self) -> bool {
1905 match (self, other) {
1925 fn eq(&self, other: &Self) -> bool {
1926 self.elem == other.elem
1935 fn eq(&self, other: &Self) -> bool {
1936 self.qself == other.qself && self.path == other.path
1945 fn eq(&self, other: &Self) -> bool {
1946 self.const_token == other.const_token && self.mutability == other.mutability
1947 && self.elem == other.elem
1956 fn eq(&self, other: &Self) -> bool {
1957 self.lifetime == other.lifetime && self.mutability == other.mutability
1958 && self.elem == other.elem
1967 fn eq(&self, other: &Self) -> bool {
1968 self.elem == other.elem
1977 fn eq(&self, other: &Self) -> bool {
1978 self.dyn_token == other.dyn_token && self.bounds == other.bounds
1987 fn eq(&self, other: &Self) -> bool {
1988 self.elems == other.elems
1997 fn eq(&self, other: &Self) -> bool {
1998 match (self, other) {
2022 fn eq(&self, other: &Self) -> bool {
2023 self.items == other.items
2032 fn eq(&self, other: &Self) -> bool {
2033 self.ident == other.ident
2042 fn eq(&self, other: &Self) -> bool {
2043 self.ident == other.ident && self.tree == other.tree
2052 fn eq(&self, other: &Self) -> bool {
2053 self.ident == other.ident && self.rename == other.rename
2062 fn eq(&self, other: &Self) -> bool {
2063 match (self, other) {
2079 fn eq(&self, other: &Self) -> bool {
2080 self.attrs == other.attrs && self.pat == other.pat && self.comma == other.comma
2089 fn eq(&self, other: &Self) -> bool {
2090 self.attrs == other.attrs && self.ident == other.ident
2091 && self.fields == other.fields && self.discriminant == other.discriminant
2100 fn eq(&self, other: &Self) -> bool {
2101 self.in_token == other.in_token && self.path == other.path
2110 fn eq(&self, other: &Self) -> bool {
2111 match (self, other) {
2127 fn eq(&self, other: &Self) -> bool {
2128 self.predicates == other.predicates
2137 fn eq(&self, other: &Self) -> bool {
2138 match (self, other) {