sysbus: Make BoxedMemory a transparent struct

Former-commit-id: fc07876e9f73928eb2aaa6fcd4cba081a35745b9
This commit is contained in:
Michel Heily 2020-02-25 00:09:19 +02:00 committed by MishMish
parent c5b9c68d5e
commit c4e8c71d1f

View file

@ -75,6 +75,7 @@ impl fmt::Display for MemoryAccess {
}
#[derive(Serialize, Deserialize, Clone, Debug)]
#[repr(transparent)]
pub struct BoxedMemory {
pub mem: Box<[u8]>,
}