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

Method name

libs/scrap/src/dxgi/mod.rs:606–610  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

604 }
605
606 pub fn name(&self) -> &[u16] {
607 let s = &self.desc.DeviceName;
608 let i = s.iter().position(|&x| x == 0).unwrap_or(s.len());
609 &s[..i]
610 }
611
612 pub fn is_online(&self) -> bool {
613 self.desc.AttachedToDesktop != 0

Callers 3

create_gdiMethod · 0.45
testFunction · 0.45
breakdown_signal_handlerFunction · 0.45

Calls 1

iterMethod · 0.80

Tested by 1

testFunction · 0.36