luaur_common/methods/
variant_operator_assign_variant_alt_b.rs1impl<T0> crate::records::variant::Variant1<T0> {
2 pub fn operator_assign_mut(&mut self, other: Self) {
3 *self = other;
4 }
5}
6
7impl<T0, T1> crate::records::variant::Variant2<T0, T1> {
8 pub fn operator_assign_mut(&mut self, other: Self) {
9 *self = other;
10 }
11}
12
13impl<T0, T1, T2> crate::records::variant::Variant3<T0, T1, T2> {
14 pub fn operator_assign_mut(&mut self, other: Self) {
15 *self = other;
16 }
17}
18
19impl<T0, T1, T2, T3> crate::records::variant::Variant4<T0, T1, T2, T3> {
20 pub fn operator_assign_mut(&mut self, other: Self) {
21 *self = other;
22 }
23}
24
25impl<T0, T1, T2, T3, T4> crate::records::variant::Variant5<T0, T1, T2, T3, T4> {
26 pub fn operator_assign_mut(&mut self, other: Self) {
27 *self = other;
28 }
29}
30
31impl<T0, T1, T2, T3, T4, T5> crate::records::variant::Variant6<T0, T1, T2, T3, T4, T5> {
32 pub fn operator_assign_mut(&mut self, other: Self) {
33 *self = other;
34 }
35}
36
37impl<T0, T1, T2, T3, T4, T5, T6> crate::records::variant::Variant7<T0, T1, T2, T3, T4, T5, T6> {
38 pub fn operator_assign_mut(&mut self, other: Self) {
39 *self = other;
40 }
41}