Add Entry mutable getters
This commit is contained in:
parent
c21bed3af9
commit
af411fbdb0
1 changed files with 8 additions and 0 deletions
|
@ -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
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue