Function v4l::context::enum_devices
source · pub fn enum_devices() -> Vec<Node>
Expand description
Returns a list of devices currently known to the system
§Example
use v4l::context;
for dev in context::enum_devices() {
print!("{}{}", dev.index(), dev.name().unwrap());
}