pub struct PciId {
vendor_id: u16,
device_id: u16,
}Expand description
A wrapper structure for pci device and vendor id.
Fields§
§vendor_id: u16§device_id: u16Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PciId
impl<'de> Deserialize<'de> for PciId
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Copy for PciId
impl Eq for PciId
impl StructuralPartialEq for PciId
Auto Trait Implementations§
impl Freeze for PciId
impl RefUnwindSafe for PciId
impl Send for PciId
impl Sync for PciId
impl Unpin for PciId
impl UnwindSafe for PciId
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