pub struct DisposableEffectResult { /* private fields */ }Expand description
What a DisposableEffect body returns: the cleanup to run when the effect is disposed. Make
it with DisposableEffectScope::on_dispose.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for DisposableEffectResult
impl !Send for DisposableEffectResult
impl !Sync for DisposableEffectResult
impl !UnwindSafe for DisposableEffectResult
impl Freeze for DisposableEffectResult
impl Unpin for DisposableEffectResult
impl UnsafeUnpin for DisposableEffectResult
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