Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/emberian/evdev
/ name
Method
name
src/uinput.rs:54–57 ·
view source on GitHub ↗
(mut self, name: &'a S)
Source
from the content-addressed store, hash-verified
52
/// Set the display name of this device.
53
#[inline]
54
pub fn name<S: AsRef<[u8]> + ?Sized>(mut self, name: &'a S) -> Self {
55
self.name = name.as_ref();
56
self
57
}
58
59
/// Set a custom input ID.
60
#[inline]
Callers
6
test_virtual_device_actually_emits
Function · 0.45
get_device
Function · 0.45
main
Function · 0.45
main
Function · 0.45
main
Function · 0.45
main
Function · 0.45
Calls
1
as_ref
Method · 0.80
Tested by
1
test_virtual_device_actually_emits
Function · 0.36