Struct cognitive_device_manager::udev::Udev
[−]
[src]
pub struct Udev { /* fields omitted */ }
Wrapper for libudev
's context.
Methods
impl Udev
[src]
fn new() -> Self
Constructs new "Udev".
fn iterate_input_devices<F>(&self, f: F) where
F: FnMut(&Path, DeviceKind, &Device),
F: FnMut(&Path, DeviceKind, &Device),
Iterates over connected input event devices and pass results to given handler. Panics if something goes wrong.
fn iterate_output_devices<F: FnMut(&Path, &Device)>(&self, f: F)
Iterates over connected output DRM devices and pass results to given handler. Panics if something goes wrong.