MCPcopy 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

get_deviceFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45

Calls 1

as_refMethod · 0.80

Tested by 1