pub struct PciInfoExt {
pub bus_id: String,
pub domain: u32,
pub bus: u32,
pub device: u32,
pub pci_device_id: u32,
pub pci_subsystem_id: u32,
pub base_class: u32,
pub sub_class: u32,
}Fields§
§bus_id: String§domain: u32§bus: u32§device: u32§pci_device_id: u32§pci_subsystem_id: u32§base_class: u32§sub_class: u32Trait Implementations§
Source§impl Clone for PciInfoExt
impl Clone for PciInfoExt
Source§fn clone(&self) -> PciInfoExt
fn clone(&self) -> PciInfoExt
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PciInfoExt
impl Debug for PciInfoExt
Source§impl From<nvmlPciInfoExt_v1_t> for PciInfoExt
impl From<nvmlPciInfoExt_v1_t> for PciInfoExt
Source§fn from(value: nvmlPciInfoExt_t) -> Self
fn from(value: nvmlPciInfoExt_t) -> Self
Converts to this type from the input type.
Source§impl Hash for PciInfoExt
impl Hash for PciInfoExt
Source§impl PartialEq for PciInfoExt
impl PartialEq for PciInfoExt
Source§fn eq(&self, other: &PciInfoExt) -> bool
fn eq(&self, other: &PciInfoExt) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for PciInfoExt
impl StructuralPartialEq for PciInfoExt
Auto Trait Implementations§
impl Freeze for PciInfoExt
impl RefUnwindSafe for PciInfoExt
impl Send for PciInfoExt
impl Sync for PciInfoExt
impl Unpin for PciInfoExt
impl UnsafeUnpin for PciInfoExt
impl UnwindSafe for PciInfoExt
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