pub struct Modalias {
pub vendor_id: u16,
pub product_id: u16,
pub device_id: u16,
}
Expand description
A parsed modalias string.
For now only the USB subtype is supported.
Fields§
§vendor_id: u16
§product_id: u16
§device_id: u16
Trait Implementations§
impl Eq for Modalias
impl StructuralPartialEq for Modalias
Auto Trait Implementations§
impl Freeze for Modalias
impl RefUnwindSafe for Modalias
impl Send for Modalias
impl Sync for Modalias
impl Unpin for Modalias
impl UnwindSafe for Modalias
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