[][src]Trait peroxide::traits::stable::StableFn

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

Stable Fn trait

Description

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

Associated Types

Loading content...

Required methods

pub fn call_stable(&self, target: T) -> Self::Output[src]

Loading content...

Implementors

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

type Output = AD

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

type Output = f64

impl<F: Fn(Vec<AD>) -> Vec<AD>> StableFn<Vec<AD, Global>> for ADFn<F>[src]

type Output = Vec<AD>

impl<F: Fn(Vec<AD>) -> Vec<AD>> StableFn<Vec<f64, Global>> for ADFn<F>[src]

type Output = Vec<f64>

Loading content...