pub enum ChildSlot {
Static(Box<dyn LayoutItem>),
Dynamic(FragmentSpec),
}Expand description
One child position in a container: a fixed widget, or a reactive fragment (built lazily once the host
node exists). Produced by ChildSlot::stat / fragment / fragment_positional.
Variants§
Static(Box<dyn LayoutItem>)
Dynamic(FragmentSpec)
Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for ChildSlot
impl !Send for ChildSlot
impl !Sync for ChildSlot
impl !UnwindSafe for ChildSlot
impl Freeze for ChildSlot
impl Unpin for ChildSlot
impl UnsafeUnpin for ChildSlot
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