Searched hist:ba3b81f3b668d3faa6cbdb39e123394f7bf637c7 (Results 1 – 3 of 3) sorted by relevance
/qemu/rust/qemu-api/src/ |
H A D | qom.rs | ba3b81f3b668d3faa6cbdb39e123394f7bf637c7 Tue Nov 05 23:01:57 UTC 2024 Paolo Bonzini <pbonzini@redhat.com> 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>
|
H A D | prelude.rs | ba3b81f3b668d3faa6cbdb39e123394f7bf637c7 Tue Nov 05 23:01:57 UTC 2024 Paolo Bonzini <pbonzini@redhat.com> 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>
|
/qemu/rust/qemu-api/tests/ |
H A D | tests.rs | ba3b81f3b668d3faa6cbdb39e123394f7bf637c7 Tue Nov 05 23:01:57 UTC 2024 Paolo Bonzini <pbonzini@redhat.com> 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>
|