Struct libusb::InterfaceDescriptor [] [src]

pub struct InterfaceDescriptor<'a> { /* fields omitted */ }

Describes an alternate setting for an interface.

Methods

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

Returns the interface's number.

Returns the alternate setting number.

Returns the interface's class code.

Returns the interface's sub class code.

Returns the interface's protocol code.

Returns the index of the string descriptor that describes the interface.

Returns the number of endpoints belonging to this interface.

Returns an iterator over the interface's endpoint descriptors.

Trait Implementations

impl<'a> Debug for InterfaceDescriptor<'a>
[src]

Formats the value using the given formatter.