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

Method set

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

Source from the content-addressed store, hash-verified

49 // TODO: figure out a good name for this if we make it public
50 #[inline]
51 pub(crate) fn set(&mut self, attr: T, on: bool) {
52 self.bitslice.set(attr.to_index(), on)
53 }
54
55 #[inline]
56 pub(crate) fn slice_iter(&self, start: T) -> AttributeSetRefIter<'_, T> {

Callers 4

insertMethod · 0.80
removeMethod · 0.80
set_nonblockingMethod · 0.80
process_eventMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected