pub struct DeviceInfo { /* private fields */ }Implementations§
Source§impl DeviceInfo
impl DeviceInfo
pub fn descriptor(&self) -> &DeviceDescriptor
pub fn configurations(&self) -> &[ConfigurationDescriptor]
pub fn interface_descriptors<'a>( &'a self, ) -> impl Iterator<Item = &'a InterfaceDescriptor> + 'a
pub fn product_id(&self) -> u16
pub fn vendor_id(&self) -> u16
Trait Implementations§
Source§impl Debug for DeviceInfo
impl Debug for DeviceInfo
Auto Trait Implementations§
impl Freeze for DeviceInfo
impl !RefUnwindSafe for DeviceInfo
impl Send for DeviceInfo
impl Sync for DeviceInfo
impl Unpin for DeviceInfo
impl !UnwindSafe for DeviceInfo
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