Struct driverkit::pci::device_db::PciDeviceInfo
source · pub struct PciDeviceInfo {
pub vendor_id: u16,
pub device_id: u16,
pub vendor_name: &'static str,
pub device_name: &'static str,
}
Expand description
Information about a PCI device.
Fields§
§vendor_id: u16
§device_id: u16
§vendor_name: &'static str
§device_name: &'static str
Trait Implementations§
source§impl Debug for PciDeviceInfo
impl Debug for PciDeviceInfo
source§impl PartialEq<PciDeviceInfo> for PciDeviceInfo
impl PartialEq<PciDeviceInfo> for PciDeviceInfo
source§fn eq(&self, other: &PciDeviceInfo) -> bool
fn eq(&self, other: &PciDeviceInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.