pub struct DeviceFunctionInfo {
pub vendor_id: u16,
pub device_id: u16,
pub class: u8,
pub subclass: u8,
pub prog_if: u8,
pub revision: u8,
pub header_type: HeaderType,
}
Expand description
Information about a PCI device function.
Fields§
§vendor_id: u16
The PCI vendor ID.
device_id: u16
The PCI device ID.
class: u8
The PCI class.
subclass: u8
The PCI subclass.
prog_if: u8
The PCI programming interface byte.
revision: u8
The PCI revision ID.
header_type: HeaderType
The type of PCI device.
Trait Implementations§
Source§impl Clone for DeviceFunctionInfo
impl Clone for DeviceFunctionInfo
Source§fn clone(&self) -> DeviceFunctionInfo
fn clone(&self) -> DeviceFunctionInfo
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for DeviceFunctionInfo
impl Debug for DeviceFunctionInfo
Source§impl Display for DeviceFunctionInfo
impl Display for DeviceFunctionInfo
Source§impl PartialEq for DeviceFunctionInfo
impl PartialEq for DeviceFunctionInfo
impl Eq for DeviceFunctionInfo
impl StructuralPartialEq for DeviceFunctionInfo
Auto Trait Implementations§
impl Freeze for DeviceFunctionInfo
impl RefUnwindSafe for DeviceFunctionInfo
impl Send for DeviceFunctionInfo
impl Sync for DeviceFunctionInfo
impl Unpin for DeviceFunctionInfo
impl UnwindSafe for DeviceFunctionInfo
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)