mirror of
https://github.com/Motorhead1991/qemu.git
synced 2026-02-02 14:20:39 -07:00
Add an example of implementing instance methods and converting the result back to a Rust type. In this case the returned types are a string (actually a Cow<str>; but that's transparent as long as it derefs to &str) and a QOM class. Reviewed-by: Zhao Liu <zhao1.liu@intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> |
||
|---|---|---|
| .. | ||
| hw | ||
| qemu-api | ||
| qemu-api-macros | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| Kconfig | ||
| meson.build | ||
| rustfmt.toml | ||
| wrapper.h | ||