mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-12-22 15:38:36 -07:00
The ObjectDeref trait now provides all the magic that is required to fake inheritance. Replace the "impl SysBusDevice" block of qemu_api::sysbus with a trait, so that sysbus_init_irq() can be invoked as "self.init_irq()" without any intermediate upcast. Reviewed-by: Zhao Liu <zhao1.liu@intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> |
||
|---|---|---|
| .. | ||
| assertions.rs | ||
| bindings.rs | ||
| bitops.rs | ||
| c_str.rs | ||
| callbacks.rs | ||
| cell.rs | ||
| irq.rs | ||
| lib.rs | ||
| module.rs | ||
| offset_of.rs | ||
| prelude.rs | ||
| qdev.rs | ||
| qom.rs | ||
| sysbus.rs | ||
| vmstate.rs | ||
| zeroable.rs | ||