pub struct Interface<'a> { /* private fields */ }
Expand description
A device interface.
An interface can have several descriptors, each describing an alternate setting of the interface.
Implementations§
source§impl<'a> Interface<'a>
impl<'a> Interface<'a>
sourcepub fn descriptors(&self) -> InterfaceDescriptors<'a> ⓘ
pub fn descriptors(&self) -> InterfaceDescriptors<'a> ⓘ
Returns an iterator over the interface’s descriptors.