Expand description
A helper trait used by split_closure()
to get a trampoline function
which will invoke the closure.
This trait is automatically implemented for any FnMut()
callable, you
shouldn’t implement it yourself.
impl<Func, Ret> Split<(), Ret> for Func where
Func: FnMut() -> Ret,
impl<Func, Ret, A> Split<(A,), Ret> for Func where
Func: FnMut(A) -> Ret,
impl<Func, Ret, A, B> Split<(A, B), Ret> for Func where
Func: FnMut(A, B) -> Ret,
impl<Func, Ret, A, B, C> Split<(A, B, C), Ret> for Func where
Func: FnMut(A, B, C) -> Ret,
impl<Func, Ret, A, B, C, D> Split<(A, B, C, D), Ret> for Func where
Func: FnMut(A, B, C, D) -> Ret,
impl<Func, Ret, A, B, C, D, E> Split<(A, B, C, D, E), Ret> for Func where
Func: FnMut(A, B, C, D, E) -> Ret,
impl<Func, Ret, A, B, C, D, E, F> Split<(A, B, C, D, E, F), Ret> for Func where
Func: FnMut(A, B, C, D, E, F) -> Ret,
impl<Func, Ret, A, B, C, D, E, F, G> Split<(A, B, C, D, E, F, G), Ret> for Func where
Func: FnMut(A, B, C, D, E, F, G) -> Ret,
impl<Func, Ret, A, B, C, D, E, F, G, H> Split<(A, B, C, D, E, F, G, H), Ret> for Func where
Func: FnMut(A, B, C, D, E, F, G, H) -> Ret,
impl<Func, Ret, A, B, C, D, E, F, G, H, I> Split<(A, B, C, D, E, F, G, H, I), Ret> for Func where
Func: FnMut(A, B, C, D, E, F, G, H, I) -> Ret,
impl<Func, Ret, A, B, C, D, E, F, G, H, I, K> Split<(A, B, C, D, E, F, G, H, I, K), Ret> for Func where
Func: FnMut(A, B, C, D, E, F, G, H, I, K) -> Ret,
impl<Func, Ret, A, B, C, D, E, F, G, H, I, K, L> Split<(A, B, C, D, E, F, G, H, I, K, L), Ret> for Func where
Func: FnMut(A, B, C, D, E, F, G, H, I, K, L) -> Ret,
impl<Func, Ret, A, B, C, D, E, F, G, H, I, K, L, M> Split<(A, B, C, D, E, F, G, H, I, K, L, M), Ret> for Func where
Func: FnMut(A, B, C, D, E, F, G, H, I, K, L, M) -> Ret,
impl<Func, Ret, A, B, C, D, E, F, G, H, I, K, L, M, N> Split<(A, B, C, D, E, F, G, H, I, K, L, M, N), Ret> for Func where
Func: FnMut(A, B, C, D, E, F, G, H, I, K, L, M, N) -> Ret,
impl<Func, Ret, A, B, C, D, E, F, G, H, I, K, L, M, N, O> Split<(A, B, C, D, E, F, G, H, I, K, L, M, N, O), Ret> for Func where
Func: FnMut(A, B, C, D, E, F, G, H, I, K, L, M, N, O) -> Ret,