pub struct Effect<T, F>{ /* private fields */ }Expand description
Handle for a running effect. Prefer Effect::new over create_effect.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T, F> !Freeze for Effect<T, F>
impl<T, F> !RefUnwindSafe for Effect<T, F>
impl<T, F> Send for Effect<T, F>
impl<T, F> !Sync for Effect<T, F>
impl<T, F> Unpin for Effect<T, F>
impl<T, F> UnwindSafe for Effect<T, F>where
F: UnwindSafe,
T: UnwindSafe,
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