remove RcFrontend & RcLayout
[skip ci]
This commit is contained in:
@@ -163,8 +163,6 @@ pub struct Layout {
|
||||
pub animations: Animations,
|
||||
}
|
||||
|
||||
pub type RcLayout = Rc<RefCell<Layout>>;
|
||||
|
||||
#[derive(Default)]
|
||||
pub struct LayoutParams {
|
||||
pub resize_to_parent: bool,
|
||||
@@ -226,10 +224,6 @@ impl Layout {
|
||||
}
|
||||
}
|
||||
|
||||
pub fn as_rc(self) -> RcLayout {
|
||||
Rc::new(RefCell::new(self))
|
||||
}
|
||||
|
||||
pub fn add_topmost_child(
|
||||
&mut self,
|
||||
widget: WidgetState,
|
||||
|
||||
Reference in New Issue
Block a user