mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 09:35:28 +00:00
implement recently visited memory index, add new global menu section
This commit is contained in:
parent
0618283d84
commit
38594c0aa8
5 changed files with 113 additions and 20 deletions
|
|
@ -1,8 +1,12 @@
|
|||
mod request;
|
||||
mod tab;
|
||||
|
||||
use request::Request;
|
||||
use tab::Tab;
|
||||
|
||||
/// Reduce disk usage by cache Bookmarks index in memory
|
||||
pub struct Memory {
|
||||
pub request: Request,
|
||||
pub tab: Tab,
|
||||
}
|
||||
|
||||
|
|
@ -17,6 +21,9 @@ impl Memory {
|
|||
|
||||
/// Create new `Self`
|
||||
pub fn new() -> Self {
|
||||
Self { tab: Tab::new() }
|
||||
Self {
|
||||
request: Request::new(),
|
||||
tab: Tab::new(),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue