Skip to main content

luaur_common/methods/
variant_operator_eq.rs

1impl<T0: PartialEq> crate::records::variant::Variant1<T0> {
2    #[inline]
3    pub fn variant_operator_eq(&self, other: &Self) -> bool {
4        self == other
5    }
6}
7
8impl<T0: PartialEq, T1: PartialEq> crate::records::variant::Variant2<T0, T1> {
9    #[inline]
10    pub fn variant_operator_eq(&self, other: &Self) -> bool {
11        self == other
12    }
13}
14
15impl<T0: PartialEq, T1: PartialEq, T2: PartialEq> crate::records::variant::Variant3<T0, T1, T2> {
16    #[inline]
17    pub fn variant_operator_eq(&self, other: &Self) -> bool {
18        self == other
19    }
20}
21
22impl<T0: PartialEq, T1: PartialEq, T2: PartialEq, T3: PartialEq>
23    crate::records::variant::Variant4<T0, T1, T2, T3>
24{
25    #[inline]
26    pub fn variant_operator_eq(&self, other: &Self) -> bool {
27        self == other
28    }
29}
30
31impl<T0: PartialEq, T1: PartialEq, T2: PartialEq, T3: PartialEq, T4: PartialEq>
32    crate::records::variant::Variant5<T0, T1, T2, T3, T4>
33{
34    #[inline]
35    pub fn variant_operator_eq(&self, other: &Self) -> bool {
36        self == other
37    }
38}
39
40impl<T0: PartialEq, T1: PartialEq, T2: PartialEq, T3: PartialEq, T4: PartialEq, T5: PartialEq>
41    crate::records::variant::Variant6<T0, T1, T2, T3, T4, T5>
42{
43    #[inline]
44    pub fn variant_operator_eq(&self, other: &Self) -> bool {
45        self == other
46    }
47}
48
49impl<
50        T0: PartialEq,
51        T1: PartialEq,
52        T2: PartialEq,
53        T3: PartialEq,
54        T4: PartialEq,
55        T5: PartialEq,
56        T6: PartialEq,
57    > crate::records::variant::Variant7<T0, T1, T2, T3, T4, T5, T6>
58{
59    #[inline]
60    pub fn variant_operator_eq(&self, other: &Self) -> bool {
61        self == other
62    }
63}