DeviceList.opApply

Finds matching devices and iterates over them

class DeviceList
int
opApply
(
scope int delegate dg
)

Examples

foreach(dev; new DeviceList(0x1038, 0x1720))
{
	 *	writeln("Serial: ", dev.serial_number);
	 * }

Meta