enum Mounted<L: Logic> {
Widget {
node: Node,
live: Option<(TemplateRef<L>, Rc<L::Frame>)>,
},
Stack {
node: Node,
children: Vec<Mounted<L>>,
},
Region {
template: TemplateRef<L>,
frame: Rc<L::Frame>,
children: Vec<Mounted<L>>,
},
}Variants§
Widget
A widget; live is kept when what it shows can change.
Stack
Region
What a region shows, placed directly among its parent’s children.
Auto Trait Implementations§
impl<L> !Send for Mounted<L>
impl<L> !Sync for Mounted<L>
impl<L> Freeze for Mounted<L>
impl<L> RefUnwindSafe for Mounted<L>where
<L as Logic>::Frame: RefUnwindSafe,
<L as Logic>::Region: RefUnwindSafe,
<L as Logic>::Value: RefUnwindSafe,
<L as Logic>::Action: RefUnwindSafe,
<L as Logic>::Binding: RefUnwindSafe,
impl<L> Unpin for Mounted<L>
impl<L> UnsafeUnpin for Mounted<L>
impl<L> UnwindSafe for Mounted<L>where
<L as Logic>::Frame: RefUnwindSafe,
<L as Logic>::Region: RefUnwindSafe,
<L as Logic>::Value: RefUnwindSafe,
<L as Logic>::Action: RefUnwindSafe,
<L as Logic>::Binding: RefUnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more