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

Method next

src/lib.rs:490–494  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

488impl Iterator for EnumerateDevices {
489 type Item = (PathBuf, Device);
490 fn next(&mut self) -> Option<(PathBuf, Device)> {
491 self.inner
492 .next()
493 .map(|(pb, dev)| (pb, Device::from_raw_device(dev)))
494 }
495}
496
497/// A safe Rust version of clock_gettime against CLOCK_REALTIME

Callers 2

mainFunction · 0.45
pick_deviceFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected