pub struct QemuRv32VirtDefaultPeripherals<'a> {
pub uart0: Uart16550<'a>,
pub virtio_mmio: [VirtIOMMIODevice; 8],
}
Fields§
§uart0: Uart16550<'a>
§virtio_mmio: [VirtIOMMIODevice; 8]
Implementations§
Trait Implementations§
Source§impl InterruptService for QemuRv32VirtDefaultPeripherals<'_>
impl InterruptService for QemuRv32VirtDefaultPeripherals<'_>
Source§unsafe fn service_interrupt(&self, interrupt: u32) -> bool
unsafe fn service_interrupt(&self, interrupt: u32) -> bool
Service an interrupt, if supported by this chip. If this interrupt
number is not supported, return false.
Auto Trait Implementations§
impl<'a> !Freeze for QemuRv32VirtDefaultPeripherals<'a>
impl<'a> !RefUnwindSafe for QemuRv32VirtDefaultPeripherals<'a>
impl<'a> !Send for QemuRv32VirtDefaultPeripherals<'a>
impl<'a> !Sync for QemuRv32VirtDefaultPeripherals<'a>
impl<'a> Unpin for QemuRv32VirtDefaultPeripherals<'a>
impl<'a> !UnwindSafe for QemuRv32VirtDefaultPeripherals<'a>
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