Struct libusb::Interface
[−]
[src]
pub struct Interface<'a> { // some fields omitted }
A device interface.
An interface can have several descriptors, each describing an alternate setting of the interface.
Methods
impl<'a> Interface<'a>
[src]
fn number(&self) -> u8
Returns the interface's number.
fn descriptors(&self) -> InterfaceDescriptors<'a>
Returns an iterator over the interface's descriptors.