mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 01:25:27 +00:00
rename page Request to Mode
This commit is contained in:
parent
10c415063a
commit
557ad69edf
2 changed files with 20 additions and 17 deletions
|
|
@ -1,14 +1,14 @@
|
|||
use gtk::glib::{GString, Uri, UriFlags};
|
||||
|
||||
/// Request type for `Page` with optional value parsed
|
||||
pub enum Request {
|
||||
/// Page type for `Page` with optional value parsed
|
||||
pub enum Mode {
|
||||
Default(Uri),
|
||||
Download(Uri),
|
||||
Source(Uri),
|
||||
Search(String),
|
||||
}
|
||||
|
||||
impl Request {
|
||||
impl Mode {
|
||||
// Constructors
|
||||
|
||||
/// Create new `Self` from `request` string
|
||||
Loading…
Add table
Add a link
Reference in a new issue