pub trait StableFn<T> {
    type Output;
    fn call_stable(&self, target: T) -> Self::Output;
}
Expand description

Stable Fn trait

Description

Implement FnOnce is still nighlty only feature. This trait is alternative to FnOnce trait.

Associated Types

Required methods

Implementors