mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
19 lines
356 B
Rust
19 lines
356 B
Rust
mod widget;
|
|
|
|
use widget::Widget;
|
|
|
|
use crate::app::browser::window::action::Action as WindowAction;
|
|
use std::rc::Rc;
|
|
|
|
pub struct Append {
|
|
pub widget: Rc<Widget>,
|
|
}
|
|
|
|
impl Append {
|
|
// Construct
|
|
pub fn new(window_action: &Rc<WindowAction>) -> Self {
|
|
Self {
|
|
widget: Rc::new(Widget::new(window_action.clone())),
|
|
}
|
|
}
|
|
}
|