Add getter method to QemuMappingsViewer (#2973)
This commit is contained in:
parent
cb3abf27a3
commit
0736c56647
@ -41,6 +41,11 @@ impl<'a> QemuMappingsViewer<'a> {
|
||||
}
|
||||
self.mappings = mappings;
|
||||
}
|
||||
|
||||
#[must_use]
|
||||
pub fn mappings(&self) -> &[MapInfo] {
|
||||
&self.mappings
|
||||
}
|
||||
}
|
||||
|
||||
impl core::fmt::Debug for QemuMappingsViewer<'_> {
|
||||
|
Loading…
x
Reference in New Issue
Block a user