aboutsummaryrefslogtreecommitdiff
path: root/rust/hw
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2025-02-14 11:13:53 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2025-03-06 12:44:46 +0100
commitf07a5674cf97b8473e5d06d7b1df9b51e97d553f (patch)
tree347e41799050dca47ddc510ff46d3a99cf0b5580 /rust/hw
parent0b9d05e3c98fe168f3502ccc422b9171467314fa (diff)
downloadqemu-f07a5674cf97b8473e5d06d7b1df9b51e97d553f.zip
qemu-f07a5674cf97b8473e5d06d7b1df9b51e97d553f.tar.gz
qemu-f07a5674cf97b8473e5d06d7b1df9b51e97d553f.tar.bz2
rust: qemu_api_macros: add Wrapper derive macro
Add a derive macro that makes it easy to peel off all the layers of specialness (UnsafeCell, MaybeUninit, etc.) and just get a pointer to the wrapped type; and likewise add them back starting from a *mut. Reviewed-by: Zhao Liu <zhao1.liu@intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'rust/hw')
0 files changed, 0 insertions, 0 deletions