Trait peroxide::traits::stable::StableFn

source ·
pub trait StableFn<T> {
    type Output;

    // Required method
    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.

Required Associated Types§

Required Methods§

source

fn call_stable(&self, target: T) -> Self::Output

Implementors§

source§

impl<'a, F: Fn(&Vec<AD>) -> Vec<AD>> StableFn<&'a Vec<AD>> for ADFn<F>

source§

impl<'a, F: Fn(&Vec<AD>) -> Vec<AD>> StableFn<&'a Vec<f64>> for ADFn<F>

source§

impl<F: Fn(AD) -> AD> StableFn<AD> for ADFn<F>

source§

impl<F: Fn(AD) -> AD> StableFn<f64> for ADFn<F>

source§

impl<F: Fn(Vec<AD>) -> Vec<AD>> StableFn<Vec<AD>> for ADFn<F>

source§

impl<F: Fn(Vec<AD>) -> Vec<AD>> StableFn<Vec<f64>> for ADFn<F>