mutable global entries

This commit is contained in:
NikVolf 2017-04-26 15:46:30 +03:00
parent 825169d34e
commit c52ccb7cd3

View File

@ -399,6 +399,11 @@ impl GlobalSection {
pub fn entries(&self) -> &[GlobalEntry] {
&self.0
}
/// List of all global entries in the section (mutable)
pub fn entries_mut(&mut self) -> &mut Vec<GlobalEntry> {
&mut self.0
}
}
impl Deserialize for GlobalSection {