#[repr(C)]pub struct PcieDeviceInfo {
pub seg_nr: u16,
pub bus_nr: u8,
pub dev_nr: u8,
pub func_nr: u8,
pub device_id: u16,
pub vendor_id: u16,
pub class: u8,
pub subclass: u8,
pub progif: u8,
pub revision: u8,
}
Expand description
The base struct for an info sub-object for a PCIe device.
Fields§
§seg_nr: u16
§bus_nr: u8
§dev_nr: u8
§func_nr: u8
§device_id: u16
§vendor_id: u16
§class: u8
§subclass: u8
§progif: u8
§revision: u8
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PcieDeviceInfo
impl ObjSafe for PcieDeviceInfo
impl RefUnwindSafe for PcieDeviceInfo
impl Send for PcieDeviceInfo
impl Sync for PcieDeviceInfo
impl Unpin for PcieDeviceInfo
impl UnwindSafe for PcieDeviceInfo
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