pub struct DisposableEffectScope;Implementations§
Source§impl DisposableEffectScope
impl DisposableEffectScope
pub fn on_dispose( &self, cleanup: impl FnOnce() + 'static, ) -> DisposableEffectResult
Trait Implementations§
Source§impl Clone for DisposableEffectScope
impl Clone for DisposableEffectScope
impl Copy for DisposableEffectScope
Source§impl Debug for DisposableEffectScope
impl Debug for DisposableEffectScope
Auto Trait Implementations§
impl Freeze for DisposableEffectScope
impl RefUnwindSafe for DisposableEffectScope
impl Send for DisposableEffectScope
impl Sync for DisposableEffectScope
impl Unpin for DisposableEffectScope
impl UnsafeUnpin for DisposableEffectScope
impl UnwindSafe for DisposableEffectScope
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