sysbus: Make BoxedMemory a transparent struct
Former-commit-id: fc07876e9f73928eb2aaa6fcd4cba081a35745b9
This commit is contained in:
parent
c5b9c68d5e
commit
c4e8c71d1f
|
@ -75,6 +75,7 @@ impl fmt::Display for MemoryAccess {
|
|||
}
|
||||
|
||||
#[derive(Serialize, Deserialize, Clone, Debug)]
|
||||
#[repr(transparent)]
|
||||
pub struct BoxedMemory {
|
||||
pub mem: Box<[u8]>,
|
||||
}
|
||||
|
|
Reference in a new issue