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> Forget for Composed<W>
impl<W> Freeze for Composed<W>where
*const RcInner<dyn Fn() -> <W as CustomWidget>::Props> is !null: Freeze,
PhantomData<RcInner<dyn Fn() -> <W as CustomWidget>::Props>>: Freeze,
*const RcInner<dyn Fn(<W as CustomWidget>::Event)> is !null: Freeze,
PhantomData<RcInner<dyn Fn(<W as CustomWidget>::Event)>>: Freeze,
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
impl<W> Move for Composed<W>
impl<W> Unpin for Composed<W>
impl<W> UnsafeUnpin for Composed<W>where
*const RcInner<dyn Fn() -> <W as CustomWidget>::Props> is !null: UnsafeUnpin,
PhantomData<RcInner<dyn Fn() -> <W as CustomWidget>::Props>>: UnsafeUnpin,
*const RcInner<dyn Fn(<W as CustomWidget>::Event)> is !null: UnsafeUnpin,
PhantomData<RcInner<dyn Fn(<W as CustomWidget>::Event)>>: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: 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