aboutsummaryrefslogtreecommitdiff
path: root/rust/qemu-api/meson.build
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2024-11-06 00:01:57 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2024-12-19 19:36:37 +0100
commitba3b81f3b668d3faa6cbdb39e123394f7bf637c7 (patch)
tree42d37373c9ad3d1004e2565e7b2e98647f3916d3 /rust/qemu-api/meson.build
parentf50cd85c8475c16374d0e138efda222ce4455f53 (diff)
downloadqemu-ba3b81f3b668d3faa6cbdb39e123394f7bf637c7.zip
qemu-ba3b81f3b668d3faa6cbdb39e123394f7bf637c7.tar.gz
qemu-ba3b81f3b668d3faa6cbdb39e123394f7bf637c7.tar.bz2
rust: qom: add initial subset of methods on Object
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>
Diffstat (limited to 'rust/qemu-api/meson.build')
0 files changed, 0 insertions, 0 deletions