Struct pci::PCIDevice
[−]
[src]
pub struct PCIDevice { pub loc: Location, pub id: Identifier, pub bars: [Option<BAR>; 6], pub cspace_access_method: CSpaceAccessMethod, }
A device on the PCI bus.
Although accessing configuration space may be expensive, it is not cached.
Fields
loc: Location
id: Identifier
bars: [Option<BAR>; 6]
cspace_access_method: CSpaceAccessMethod
Trait Implementations
impl Copy for PCIDevice
[src]
impl Clone for PCIDevice
[src]
fn clone(&self) -> PCIDevice
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl PartialEq for PCIDevice
[src]
fn eq(&self, __arg_0: &PCIDevice) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &PCIDevice) -> bool
This method tests for !=
.