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
sourceimpl Debug for PciDeviceInfo
impl Debug for PciDeviceInfo
sourceimpl PartialEq<PciDeviceInfo> for PciDeviceInfo
impl PartialEq<PciDeviceInfo> for PciDeviceInfo
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &PciDeviceInfo) -> bool
fn ne(&self, other: &PciDeviceInfo) -> bool
This method tests for !=
.
impl Eq for PciDeviceInfo
impl StructuralEq for PciDeviceInfo
impl StructuralPartialEq for PciDeviceInfo
Auto Trait Implementations
impl RefUnwindSafe for PciDeviceInfo
impl Send for PciDeviceInfo
impl Sync for PciDeviceInfo
impl Unpin for PciDeviceInfo
impl UnwindSafe for PciDeviceInfo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more