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.
Auto Trait Implementations§
impl<'a> Freeze for Interface<'a>
impl<'a> RefUnwindSafe for Interface<'a>
impl<'a> !Send for Interface<'a>
impl<'a> !Sync for Interface<'a>
impl<'a> Unpin for Interface<'a>
impl<'a> UnwindSafe for Interface<'a>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more