pub struct HardwareIds {
pub vendor_id: u16,
pub device_id: u16,
pub revision_id: u8,
pub prog_if: ProgrammingInterface,
pub sub_class: Subclass,
pub base_class: ClassCode,
pub type0_sub_vendor_id: u16,
pub type0_sub_system_id: u16,
}
Expand description
A collection of hard-coded hardware IDs specific to a particular PCI device, as reflected in their corresponding PCI configuration space registers.
See PCI 2.3 Spec - 6.2.1 for details on each of these fields.
Fields§
§vendor_id: u16
§device_id: u16
§revision_id: u8
§prog_if: ProgrammingInterface
§sub_class: Subclass
§base_class: ClassCode
§type0_sub_vendor_id: u16
§type0_sub_system_id: u16
Trait Implementations§
Source§impl Clone for HardwareIds
impl Clone for HardwareIds
Source§fn clone(&self) -> HardwareIds
fn clone(&self) -> HardwareIds
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for HardwareIds
impl Debug for HardwareIds
impl Copy for HardwareIds
Auto Trait Implementations§
impl Freeze for HardwareIds
impl RefUnwindSafe for HardwareIds
impl Send for HardwareIds
impl Sync for HardwareIds
impl Unpin for HardwareIds
impl UnwindSafe for HardwareIds
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