pub struct PciPciBridge { /* private fields */ }Implementations§
Source§impl PciPciBridge
impl PciPciBridge
pub fn primary_bus_number(&self) -> u8
pub fn secondary_bus_number(&self) -> u8
pub fn subordinate_bus_number(&self) -> u8
pub fn update_bus_number<F>(&mut self, f: F)where
F: FnOnce(BusNumber) -> BusNumber,
Methods from Deref<Target = PciHeaderBase>§
pub fn header(&self) -> PciHeader
pub fn address(&self) -> PciAddress
pub fn header_type(&self) -> HeaderType
pub fn has_multiple_functions(&self) -> bool
pub fn status(&self) -> StatusRegister
pub fn command(&self) -> CommandRegister
pub fn revision_and_class(&self) -> RevisionAndClass
pub fn vendor_id(&self) -> u16
pub fn device_id(&self) -> u16
pub fn read(&self, offset: u16) -> u32
pub fn write(&self, offset: u16, value: u32)
Trait Implementations§
Source§impl Debug for PciPciBridge
impl Debug for PciPciBridge
Auto Trait Implementations§
impl Freeze for PciPciBridge
impl !RefUnwindSafe for PciPciBridge
impl Send for PciPciBridge
impl Sync for PciPciBridge
impl Unpin for PciPciBridge
impl !UnwindSafe for PciPciBridge
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