Struct libusb::DeviceList [−][src]
pub struct DeviceList<'a> { /* fields omitted */ }
A list of detected USB devices.
Methods
impl<'a> DeviceList<'a>
[src]
impl<'a> DeviceList<'a>
pub fn len(&self) -> usize
[src]
pub fn len(&self) -> usize
Returns the number of devices in the list.
ⓘImportant traits for Devices<'a, 'b>pub fn iter<'b>(&'b self) -> Devices<'a, 'b>
[src]
ⓘImportant traits for Devices<'a, 'b>
pub 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]
impl<'a> Drop for DeviceList<'a>
Auto Trait Implementations
impl<'a> !Send for DeviceList<'a>
impl<'a> !Send for DeviceList<'a>
impl<'a> !Sync for DeviceList<'a>
impl<'a> !Sync for DeviceList<'a>