pub enum RegionType {
Ram {
block: Arc<RamBlock>,
},
Rom {
block: Arc<RamBlock>,
},
Io {
ops: Arc<Mutex<Box<dyn MmioOps>>>,
},
Alias {
target: Box<MemoryRegion>,
offset: u64,
},
Container,
}Variants§
Auto Trait Implementations§
impl Freeze for RegionType
impl RefUnwindSafe for RegionType
impl Send for RegionType
impl Sync for RegionType
impl Unpin for RegionType
impl UnsafeUnpin for RegionType
impl UnwindSafe for RegionType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more