Struct libusb::DeviceList [] [src]

pub struct DeviceList<'a> {
    // some fields omitted
}

A list of detected USB devices.

Methods

impl<'a> DeviceList<'a>
[src]

fn len(&self) -> usize

Returns the number of devices in the list.

fn iter<'b>(&'b self) -> Devices<'a, 'b>

Returns an iterator over the devices in the list.

The iterator yields a sequence of Device objects.

Trait Implementations

impl<'a> Drop for DeviceList<'a>
[src]

fn drop(&mut self)

Frees the device list.