Trait rai_core::Func

source ·
pub trait Func<IN, OUT> {
    // Required method
    fn apply(&self, input: IN) -> OUT;
}

Required Methods§

source

fn apply(&self, input: IN) -> OUT

Implementors§

source§

impl<A, B, C, D, E, F, G, H, I, J, K, L, OUT, FUNC> Func<(A, B, C, D, E, F, G, H, I, J, K, L), OUT> for FUNC
where A: Differentiable, B: Differentiable, C: Differentiable, D: Differentiable, E: Differentiable, F: Differentiable, G: Differentiable, H: Differentiable, I: Differentiable, J: Differentiable, K: Differentiable, L: Differentiable, OUT: Differentiable, FUNC: Fn(A, B, C, D, E, F, G, H, I, J, K, L) -> OUT,

source§

impl<A, B, C, D, E, F, G, H, I, J, K, OUT, FUNC> Func<(A, B, C, D, E, F, G, H, I, J, K), OUT> for FUNC
where A: Differentiable, B: Differentiable, C: Differentiable, D: Differentiable, E: Differentiable, F: Differentiable, G: Differentiable, H: Differentiable, I: Differentiable, J: Differentiable, K: Differentiable, OUT: Differentiable, FUNC: Fn(A, B, C, D, E, F, G, H, I, J, K) -> OUT,

source§

impl<A, B, C, D, E, F, G, H, I, J, OUT, FUNC> Func<(A, B, C, D, E, F, G, H, I, J), OUT> for FUNC
where A: Differentiable, B: Differentiable, C: Differentiable, D: Differentiable, E: Differentiable, F: Differentiable, G: Differentiable, H: Differentiable, I: Differentiable, J: Differentiable, OUT: Differentiable, FUNC: Fn(A, B, C, D, E, F, G, H, I, J) -> OUT,

source§

impl<A, B, C, D, E, F, G, H, I, OUT, FUNC> Func<(A, B, C, D, E, F, G, H, I), OUT> for FUNC
where A: Differentiable, B: Differentiable, C: Differentiable, D: Differentiable, E: Differentiable, F: Differentiable, G: Differentiable, H: Differentiable, I: Differentiable, OUT: Differentiable, FUNC: Fn(A, B, C, D, E, F, G, H, I) -> OUT,

source§

impl<A, B, C, D, E, F, G, H, OUT, FUNC> Func<(A, B, C, D, E, F, G, H), OUT> for FUNC
where A: Differentiable, B: Differentiable, C: Differentiable, D: Differentiable, E: Differentiable, F: Differentiable, G: Differentiable, H: Differentiable, OUT: Differentiable, FUNC: Fn(A, B, C, D, E, F, G, H) -> OUT,

source§

impl<A, B, C, D, E, F, G, OUT, FUNC> Func<(A, B, C, D, E, F, G), OUT> for FUNC
where A: Differentiable, B: Differentiable, C: Differentiable, D: Differentiable, E: Differentiable, F: Differentiable, G: Differentiable, OUT: Differentiable, FUNC: Fn(A, B, C, D, E, F, G) -> OUT,

source§

impl<A, B, C, D, E, F, OUT, FUNC> Func<(A, B, C, D, E, F), OUT> for FUNC
where A: Differentiable, B: Differentiable, C: Differentiable, D: Differentiable, E: Differentiable, F: Differentiable, OUT: Differentiable, FUNC: Fn(A, B, C, D, E, F) -> OUT,

source§

impl<A, B, C, D, E, OUT, FUNC> Func<(A, B, C, D, E), OUT> for FUNC
where A: Differentiable, B: Differentiable, C: Differentiable, D: Differentiable, E: Differentiable, OUT: Differentiable, FUNC: Fn(A, B, C, D, E) -> OUT,

source§

impl<A, B, C, D, OUT, FUNC> Func<(A, B, C, D), OUT> for FUNC
where A: Differentiable, B: Differentiable, C: Differentiable, D: Differentiable, OUT: Differentiable, FUNC: Fn(A, B, C, D) -> OUT,

source§

impl<A, B, C, OUT, FUNC> Func<(A, B, C), OUT> for FUNC
where A: Differentiable, B: Differentiable, C: Differentiable, OUT: Differentiable, FUNC: Fn(A, B, C) -> OUT,

source§

impl<A, B, OUT, FUNC> Func<(A, B), OUT> for FUNC
where A: Differentiable, B: Differentiable, OUT: Differentiable, FUNC: Fn(A, B) -> OUT,

source§

impl<A, OUT, FUNC> Func<(A,), OUT> for FUNC
where A: Differentiable, OUT: Differentiable, FUNC: Fn(A) -> OUT,

source§

impl<I, OUT, FUNC> Func<[I; 1], OUT> for FUNC
where I: Differentiable, OUT: Differentiable, FUNC: Fn(I) -> OUT,

source§

impl<I, OUT, FUNC> Func<[I; 2], OUT> for FUNC
where I: Differentiable, OUT: Differentiable, FUNC: Fn(I, I) -> OUT,

source§

impl<I, OUT, FUNC> Func<[I; 3], OUT> for FUNC
where I: Differentiable, OUT: Differentiable, FUNC: Fn(I, I, I) -> OUT,

source§

impl<I, OUT, FUNC> Func<[I; 4], OUT> for FUNC
where I: Differentiable, OUT: Differentiable, FUNC: Fn(I, I, I, I) -> OUT,

source§

impl<I, OUT, FUNC> Func<[I; 5], OUT> for FUNC
where I: Differentiable, OUT: Differentiable, FUNC: Fn(I, I, I, I, I) -> OUT,

source§

impl<I, OUT, FUNC> Func<[I; 6], OUT> for FUNC
where I: Differentiable, OUT: Differentiable, FUNC: Fn(I, I, I, I, I, I) -> OUT,

source§

impl<I, OUT, FUNC> Func<[I; 7], OUT> for FUNC
where I: Differentiable, OUT: Differentiable, FUNC: Fn(I, I, I, I, I, I, I) -> OUT,

source§

impl<I, OUT, FUNC> Func<[I; 8], OUT> for FUNC
where I: Differentiable, OUT: Differentiable, FUNC: Fn(I, I, I, I, I, I, I, I) -> OUT,

source§

impl<I, OUT, FUNC> Func<[I; 9], OUT> for FUNC
where I: Differentiable, OUT: Differentiable, FUNC: Fn(I, I, I, I, I, I, I, I, I) -> OUT,

source§

impl<I, OUT, FUNC> Func<[I; 10], OUT> for FUNC
where I: Differentiable, OUT: Differentiable, FUNC: Fn(I, I, I, I, I, I, I, I, I, I) -> OUT,

source§

impl<I, OUT, FUNC> Func<[I; 11], OUT> for FUNC
where I: Differentiable, OUT: Differentiable, FUNC: Fn(I, I, I, I, I, I, I, I, I, I, I) -> OUT,

source§

impl<I, OUT, FUNC> Func<[I; 12], OUT> for FUNC
where I: Differentiable, OUT: Differentiable, FUNC: Fn(I, I, I, I, I, I, I, I, I, I, I, I) -> OUT,