diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2025-02-25 10:28:56 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2025-03-06 12:44:46 +0100 |
commit | d7f5ae8b30cc9652a4ddcfeb52076f5aef6d78b6 (patch) | |
tree | ed704218859834b49497cd7e886b00540e122314 | |
parent | f07a5674cf97b8473e5d06d7b1df9b51e97d553f (diff) | |
download | qemu-d7f5ae8b30cc9652a4ddcfeb52076f5aef6d78b6.zip qemu-d7f5ae8b30cc9652a4ddcfeb52076f5aef6d78b6.tar.gz qemu-d7f5ae8b30cc9652a4ddcfeb52076f5aef6d78b6.tar.bz2 |
rust: vmstate: add std::pin::Pin as transparent wrapper
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
-rw-r--r-- | rust/qemu-api/src/vmstate.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rust/qemu-api/src/vmstate.rs b/rust/qemu-api/src/vmstate.rs index 24a4dc8..1e7ba53 100644 --- a/rust/qemu-api/src/vmstate.rs +++ b/rust/qemu-api/src/vmstate.rs @@ -330,6 +330,7 @@ macro_rules! impl_vmstate_transparent { impl_vmstate_transparent!(std::cell::Cell<T> where T: VMState); impl_vmstate_transparent!(std::cell::UnsafeCell<T> where T: VMState); +impl_vmstate_transparent!(std::pin::Pin<T> where T: VMState); impl_vmstate_transparent!(crate::cell::BqlCell<T> where T: VMState); impl_vmstate_transparent!(crate::cell::BqlRefCell<T> where T: VMState); |