pub struct Effect<F> { /* private fields */ }
Expand description
A reactive effect that runs when its dependencies change
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<F> !Freeze for Effect<F>
impl<F> RefUnwindSafe for Effect<F>
impl<F> Unpin for Effect<F>where
F: Unpin,
impl<F> UnwindSafe for Effect<F>
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