pub struct PCIDevice {
pub loc: Location,
pub id: Identifier,
pub bars: [Option<BAR>; 6],
pub cspace_access_method: CSpaceAccessMethod,
}
Expand description
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
impl Eq for PCIDevice
impl StructuralPartialEq for PCIDevice
Auto Trait Implementations§
impl Freeze for PCIDevice
impl RefUnwindSafe for PCIDevice
impl Send for PCIDevice
impl Sync for PCIDevice
impl Unpin for PCIDevice
impl UnwindSafe for PCIDevice
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