pub struct UsbDevice {
pub vendor_id: u16,
pub product_id: Option<u16>,
}
Fields§
§vendor_id: u16
§product_id: Option<u16>
Trait Implementations§
impl StructuralPartialEq for UsbDevice
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