mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 17:15:28 +00:00
define ptr container outside
This commit is contained in:
parent
7b2c07ac45
commit
a5fc2a7475
58 changed files with 230 additions and 272 deletions
|
|
@ -20,14 +20,14 @@ pub struct Request {
|
|||
|
||||
impl Request {
|
||||
// Construct
|
||||
pub fn new_rc(
|
||||
pub fn new(
|
||||
// Actions
|
||||
browser_action: Rc<BrowserAction>,
|
||||
action_page_reload: SimpleAction, // @TODO local `action_page_open`?
|
||||
) -> Rc<Self> {
|
||||
Rc::new(Self {
|
||||
widget: Widget::new_rc(browser_action, action_page_reload),
|
||||
})
|
||||
) -> Self {
|
||||
Self {
|
||||
widget: Rc::new(Widget::new(browser_action, action_page_reload)),
|
||||
}
|
||||
}
|
||||
|
||||
// Actions
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue