mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 09:35:28 +00:00
add clear events method
This commit is contained in:
parent
1a1fa86ac5
commit
e8eaaa5f32
2 changed files with 6 additions and 2 deletions
|
|
@ -84,6 +84,11 @@ impl Info {
|
|||
self
|
||||
}
|
||||
|
||||
pub fn clear_events(&mut self) -> &mut Self {
|
||||
self.event.clear();
|
||||
self
|
||||
}
|
||||
|
||||
pub fn set_mime(&mut self, mime: Option<String>) -> &mut Self {
|
||||
self.mime = mime;
|
||||
self
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue