MCPcopy Index your code
hub / github.com/RizeCrime/linuxblaster_control / clone

Method clone

src/features.rs:400–407  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

398
399impl Clone for Feature {
400 fn clone(&self) -> Self {
401 Self {
402 id: self.id,
403 value: Mutex::new(*self.value.lock().unwrap()),
404 getter: self.getter,
405 setter: self.setter,
406 }
407 }
408}
409
410impl<'de> Deserialize<'de> for Feature {

Callers 3

mainFunction · 0.80
deserializeMethod · 0.80
updateMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected