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
Source§fn clone(&self) -> DisposableEffectScope
fn clone(&self) -> DisposableEffectScope
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DisposableEffectScope
impl Debug for DisposableEffectScope
Source§impl Default for DisposableEffectScope
impl Default for DisposableEffectScope
Source§fn default() -> DisposableEffectScope
fn default() -> DisposableEffectScope
Returns the “default value” for a type. Read more
impl Copy 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 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