mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-27 04:13:53 -06:00
rust: vmstate: add std::pin::Pin as transparent wrapper
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
f07a5674cf
commit
d7f5ae8b30
1 changed files with 1 additions and 0 deletions
|
@ -330,6 +330,7 @@ macro_rules! impl_vmstate_transparent {
|
||||||
|
|
||||||
impl_vmstate_transparent!(std::cell::Cell<T> where T: VMState);
|
impl_vmstate_transparent!(std::cell::Cell<T> where T: VMState);
|
||||||
impl_vmstate_transparent!(std::cell::UnsafeCell<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::BqlCell<T> where T: VMState);
|
||||||
impl_vmstate_transparent!(crate::cell::BqlRefCell<T> where T: VMState);
|
impl_vmstate_transparent!(crate::cell::BqlRefCell<T> where T: VMState);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue