pub struct Composed<W: CustomWidget> { /* private fields */ }Expand description
What a composed render gets: the props (reactive), a way to emit the widget’s events, and the accessible label the app gave the widget.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<W> !RefUnwindSafe for Composed<W>
impl<W> !Send for Composed<W>
impl<W> !Sync for Composed<W>
impl<W> !UnwindSafe for Composed<W>
impl<W> Freeze for Composed<W>where
Rc<dyn Fn() -> <W as CustomWidget>::Props>: Freeze,
Rc<dyn Fn(<W as CustomWidget>::Event)>: Freeze,
impl<W> Unpin for Composed<W>where
Rc<dyn Fn() -> <W as CustomWidget>::Props>: Unpin,
Rc<dyn Fn(<W as CustomWidget>::Event)>: Unpin,
impl<W> UnsafeUnpin for Composed<W>where
Rc<dyn Fn() -> <W as CustomWidget>::Props>: UnsafeUnpin,
Rc<dyn Fn(<W as CustomWidget>::Event)>: UnsafeUnpin,
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