MCPcopy Create free account
hub / github.com/emberian/evdev / clone_from

Method clone_from

src/device_state.rs:31–37  ·  view source on GitHub ↗
(&mut self, other: &Self)

Source from the content-addressed store, hash-verified

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
40impl DeviceState {

Callers 1

fetch_events_innerMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected