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

Method iter

src/attribute_set.rs:37–39  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

35 /// Provides an iterator over all "set" bits in the collection.
36 #[inline]
37 pub fn iter(&self) -> AttributeSetRefIter<'_, T> {
38 self.into_iter()
39 }
40
41 pub fn insert(&mut self, attr: T) {
42 self.set(attr, true)

Callers 14

update_abs_stateMethod · 0.80
fmtMethod · 0.80
with_keysMethod · 0.80
with_relative_axesMethod · 0.80
with_propertiesMethod · 0.80
with_switchesMethod · 0.80
with_ffMethod · 0.80
with_mscMethod · 0.80
sync_eventsFunction · 0.80
fmtMethod · 0.80
test_iteration_keysFunction · 0.80
final_event_stateFunction · 0.80

Calls 1

into_iterMethod · 0.80

Tested by 1

test_iteration_keysFunction · 0.64