MCPcopy Create free account
hub / github.com/Recordscript/recordscript / eq_device

Method eq_device

src-tauri/src/recorder.rs:42–47  ·  view source on GitHub ↗
(&self, device: &Device)

Source from the content-addressed store, hash-verified

40
41impl DeviceEq for Device {
42 fn eq_device(&self, device: &Device) -> bool {
43 let a = self.name().unwrap_or_default();
44 let b = device.name().unwrap_or_default();
45
46 a.eq(&b)
47 }
48}
49
50impl DeviceEq for Display {

Callers 4

list_microphoneFunction · 0.80
list_speakerFunction · 0.80
list_screenFunction · 0.80
clone_deviceMethod · 0.80

Calls 1

nameMethod · 0.45

Tested by

no test coverage detected