pub struct PciDevice {
pub id: u16,
pub name: String,
/* private fields */
}
Fields§
§id: u16
§name: String
Implementations§
Source§impl PciDevice
impl PciDevice
pub fn get_subsystem(&self, subsystem_id: &(u16, u16)) -> Result<&PciSubsystem>
Trait Implementations§
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