MCPcopy Create free account
hub / github.com/emberian/evdev / insert

Method insert

src/attribute_set.rs:41–43  ·  view source on GitHub ↗
(&mut self, attr: T)

Source from the content-addressed store, hash-verified

39 }
40
41 pub fn insert(&mut self, attr: T) {
42 self.set(attr, true)
43 }
44
45 pub fn remove(&mut self, attr: T) {
46 self.set(attr, false)

Callers 7

from_iterMethod · 0.80
test_iteration_keysFunction · 0.80
get_deviceFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80

Calls 1

setMethod · 0.80

Tested by 3

test_iteration_keysFunction · 0.64