This commit is contained in:
Svyatoslav Nikolsky
2017-05-02 19:10:23 +03:00
parent 354c444470
commit cf773eceda
5 changed files with 92 additions and 4 deletions

View File

@ -591,6 +591,11 @@ impl DataSection {
pub fn entries(&self) -> &[DataSegment] {
&self.0
}
/// Mutable list of all data entries in the section
pub fn entries_mut(&mut self) -> &mut Vec<DataSegment> {
&mut self.0
}
}
impl Deserialize for DataSection {