pub struct UsbDevice {
pub bus_number: u8,
pub address: u8,
pub vendor_id: u16,
pub product_id: u16,
pub version: UsbVersion,
}
Expand description
This is the usb device information from the usb device. It is possible to generate this information with something like rusb
Fields§
§bus_number: u8
§address: u8
§vendor_id: u16
§product_id: u16
§version: UsbVersion
Trait Implementations§
Auto Trait Implementations§
impl Freeze for UsbDevice
impl RefUnwindSafe for UsbDevice
impl Send for UsbDevice
impl Sync for UsbDevice
impl Unpin for UsbDevice
impl UnwindSafe for UsbDevice
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