Skip to main content

IntoEffectCleanup

Trait IntoEffectCleanup 

Source
pub trait IntoEffectCleanup {
    // Required method
    fn into_cleanup(self) -> Option<UiEffect>;
}

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl IntoEffectCleanup for ()

Implementors§

Source§

impl<F> IntoEffectCleanup for F
where F: FnOnce() + 'static,