Add Entry mutable getters

This commit is contained in:
Matthias Beyer 2016-01-22 14:25:03 +01:00
parent c21bed3af9
commit af411fbdb0

View file

@ -24,9 +24,17 @@ impl Entry {
&self.header
}
pub fn get_header_mut(&mut self) -> &mut EntryHeader {
&mut self.header
}
pub fn get_content(&self) -> &EntryContent {
&self.content
}
pub fn get_content_mut(&mut self) -> &mut EntryContent {
&mut self.content
}
}