Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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_gdi
Method · 0.45
test
Function · 0.45
breakdown_signal_handler
Function · 0.45
Calls
1
iter
Method · 0.80
Tested by
1
test
Function · 0.36