(&mut self, other: &Self)
| 29 | } |
| 30 | } |
| 31 | fn clone_from(&mut self, other: &Self) { |
| 32 | self.timestamp.clone_from(&other.timestamp); |
| 33 | self.key_vals.clone_from(&other.key_vals); |
| 34 | self.abs_vals.clone_from(&other.abs_vals); |
| 35 | self.switch_vals.clone_from(&other.switch_vals); |
| 36 | self.led_vals.clone_from(&other.led_vals); |
| 37 | } |
| 38 | } |
| 39 | |
| 40 | impl DeviceState { |