Skip to main content

luaur_common/methods/
variant_operator_ne.rs

1impl<T0, T1, T2, T3, T4, T5, T6> crate::records::variant::Variant7<T0, T1, T2, T3, T4, T5, T6>
2where
3    T0: PartialEq,
4    T1: PartialEq,
5    T2: PartialEq,
6    T3: PartialEq,
7    T4: PartialEq,
8    T5: PartialEq,
9    T6: PartialEq,
10{
11    pub fn variant_operator_ne(&self, other: &Self) -> bool {
12        !(*self == *other)
13    }
14}
15
16impl<T0, T1, T2, T3, T4, T5> crate::records::variant::Variant6<T0, T1, T2, T3, T4, T5>
17where
18    T0: PartialEq,
19    T1: PartialEq,
20    T2: PartialEq,
21    T3: PartialEq,
22    T4: PartialEq,
23    T5: PartialEq,
24{
25    pub fn variant_operator_ne(&self, other: &Self) -> bool {
26        !(*self == *other)
27    }
28}
29
30impl<T0, T1, T2, T3, T4> crate::records::variant::Variant5<T0, T1, T2, T3, T4>
31where
32    T0: PartialEq,
33    T1: PartialEq,
34    T2: PartialEq,
35    T3: PartialEq,
36    T4: PartialEq,
37{
38    pub fn variant_operator_ne(&self, other: &Self) -> bool {
39        !(*self == *other)
40    }
41}
42
43impl<T0, T1, T2, T3> crate::records::variant::Variant4<T0, T1, T2, T3>
44where
45    T0: PartialEq,
46    T1: PartialEq,
47    T2: PartialEq,
48    T3: PartialEq,
49{
50    pub fn variant_operator_ne(&self, other: &Self) -> bool {
51        !(*self == *other)
52    }
53}
54
55impl<T0, T1, T2> crate::records::variant::Variant3<T0, T1, T2>
56where
57    T0: PartialEq,
58    T1: PartialEq,
59    T2: PartialEq,
60{
61    pub fn variant_operator_ne(&self, other: &Self) -> bool {
62        !(*self == *other)
63    }
64}
65
66impl<T0, T1> crate::records::variant::Variant2<T0, T1>
67where
68    T0: PartialEq,
69    T1: PartialEq,
70{
71    pub fn variant_operator_ne(&self, other: &Self) -> bool {
72        !(*self == *other)
73    }
74}
75
76impl<T0> crate::records::variant::Variant1<T0>
77where
78    T0: PartialEq,
79{
80    pub fn variant_operator_ne(&self, other: &Self) -> bool {
81        !(*self == *other)
82    }
83}