Expand description
Function that gets its arguments / parameters from a Resources
map.
This allows consumers of this library to hold onto multiple resource
functions as Box<dyn FnRes>
, even though their arguments may be
different.
Return type of the function.
impl<Fun, Ret> FnRes for FnResource<Fun, Ret, ()> where
Fun: Fn() -> Ret + 'static,
Ret: 'static,
impl<Fun, Ret, A0, A1> FnRes for FnResource<Fun, Ret, (&A0, &A1)> where
Fun: Fn(&A0, &A1) -> Ret + 'static,
Ret: 'static,
A0: Debug + Send + Sync + 'static,
A1: Debug + Send + Sync + 'static,
impl<Fun, Ret, A0, A1> FnRes for FnResource<Fun, Ret, (&A0, &mut A1)> where
Fun: Fn(&A0, &mut A1) -> Ret + 'static,
Ret: 'static,
A0: Debug + Send + Sync + 'static,
A1: Debug + Send + Sync + 'static,
impl<Fun, Ret, A0, A1> FnRes for FnResource<Fun, Ret, (&mut A0, &A1)> where
Fun: Fn(&mut A0, &A1) -> Ret + 'static,
Ret: 'static,
A0: Debug + Send + Sync + 'static,
A1: Debug + Send + Sync + 'static,
impl<Fun, Ret, A0, A1> FnRes for FnResource<Fun, Ret, (&mut A0, &mut A1)> where
Fun: Fn(&mut A0, &mut A1) -> Ret + 'static,
Ret: 'static,
A0: Debug + Send + Sync + 'static,
A1: Debug + Send + Sync + 'static,
impl<Fun, Ret, A0, A1, A2> FnRes for FnResource<Fun, Ret, (&A0, &A1, &A2)> where
Fun: Fn(&A0, &A1, &A2) -> Ret + 'static,
Ret: 'static,
A0: Debug + Send + Sync + 'static,
A1: Debug + Send + Sync + 'static,
A2: Debug + Send + Sync + 'static,
impl<Fun, Ret, A0, A1, A2> FnRes for FnResource<Fun, Ret, (&A0, &A1, &mut A2)> where
Fun: Fn(&A0, &A1, &mut A2) -> Ret + 'static,
Ret: 'static,
A0: Debug + Send + Sync + 'static,
A1: Debug + Send + Sync + 'static,
A2: Debug + Send + Sync + 'static,
impl<Fun, Ret, A0, A1, A2> FnRes for FnResource<Fun, Ret, (&A0, &mut A1, &A2)> where
Fun: Fn(&A0, &mut A1, &A2) -> Ret + 'static,
Ret: 'static,
A0: Debug + Send + Sync + 'static,
A1: Debug + Send + Sync + 'static,
A2: Debug + Send + Sync + 'static,
impl<Fun, Ret, A0, A1, A2> FnRes for FnResource<Fun, Ret, (&A0, &mut A1, &mut A2)> where
Fun: Fn(&A0, &mut A1, &mut A2) -> Ret + 'static,
Ret: 'static,
A0: Debug + Send + Sync + 'static,
A1: Debug + Send + Sync + 'static,
A2: Debug + Send + Sync + 'static,
impl<Fun, Ret, A0, A1, A2> FnRes for FnResource<Fun, Ret, (&mut A0, &A1, &A2)> where
Fun: Fn(&mut A0, &A1, &A2) -> Ret + 'static,
Ret: 'static,
A0: Debug + Send + Sync + 'static,
A1: Debug + Send + Sync + 'static,
A2: Debug + Send + Sync + 'static,
impl<Fun, Ret, A0, A1, A2> FnRes for FnResource<Fun, Ret, (&mut A0, &A1, &mut A2)> where
Fun: Fn(&mut A0, &A1, &mut A2) -> Ret + 'static,
Ret: 'static,
A0: Debug + Send + Sync + 'static,
A1: Debug + Send + Sync + 'static,
A2: Debug + Send + Sync + 'static,
impl<Fun, Ret, A0, A1, A2> FnRes for FnResource<Fun, Ret, (&mut A0, &mut A1, &A2)> where
Fun: Fn(&mut A0, &mut A1, &A2) -> Ret + 'static,
Ret: 'static,
A0: Debug + Send + Sync + 'static,
A1: Debug + Send + Sync + 'static,
A2: Debug + Send + Sync + 'static,
impl<Fun, Ret, A0, A1, A2> FnRes for FnResource<Fun, Ret, (&mut A0, &mut A1, &mut A2)> where
Fun: Fn(&mut A0, &mut A1, &mut A2) -> Ret + 'static,
Ret: 'static,
A0: Debug + Send + Sync + 'static,
A1: Debug + Send + Sync + 'static,
A2: Debug + Send + Sync + 'static,
impl<Fun, Ret, A0, A1, A2, A3> FnRes for FnResource<Fun, Ret, (&A0, &A1, &A2, &A3)> where
Fun: Fn(&A0, &A1, &A2, &A3) -> Ret + 'static,
Ret: 'static,
A0: Debug + Send + Sync + 'static,
A1: Debug + Send + Sync + 'static,
A2: Debug + Send + Sync + 'static,
A3: Debug + Send + Sync + 'static,
impl<Fun, Ret, A0, A1, A2, A3> FnRes for FnResource<Fun, Ret, (&A0, &A1, &A2, &mut A3)> where
Fun: Fn(&A0, &A1, &A2, &mut A3) -> Ret + 'static,
Ret: 'static,
A0: Debug + Send + Sync + 'static,
A1: Debug + Send + Sync + 'static,
A2: Debug + Send + Sync + 'static,
A3: Debug + Send + Sync + 'static,
impl<Fun, Ret, A0, A1, A2, A3> FnRes for FnResource<Fun, Ret, (&A0, &A1, &mut A2, &A3)> where
Fun: Fn(&A0, &A1, &mut A2, &A3) -> Ret + 'static,
Ret: 'static,
A0: Debug + Send + Sync + 'static,
A1: Debug + Send + Sync + 'static,
A2: Debug + Send + Sync + 'static,
A3: Debug + Send + Sync + 'static,
impl<Fun, Ret, A0, A1, A2, A3> FnRes for FnResource<Fun, Ret, (&A0, &A1, &mut A2, &mut A3)> where
Fun: Fn(&A0, &A1, &mut A2, &mut A3) -> Ret + 'static,
Ret: 'static,
A0: Debug + Send + Sync + 'static,
A1: Debug + Send + Sync + 'static,
A2: Debug + Send + Sync + 'static,
A3: Debug + Send + Sync + 'static,
impl<Fun, Ret, A0, A1, A2, A3> FnRes for FnResource<Fun, Ret, (&A0, &mut A1, &A2, &A3)> where
Fun: Fn(&A0, &mut A1, &A2, &A3) -> Ret + 'static,
Ret: 'static,
A0: Debug + Send + Sync + 'static,
A1: Debug + Send + Sync + 'static,
A2: Debug + Send + Sync + 'static,
A3: Debug + Send + Sync + 'static,
impl<Fun, Ret, A0, A1, A2, A3> FnRes for FnResource<Fun, Ret, (&A0, &mut A1, &A2, &mut A3)> where
Fun: Fn(&A0, &mut A1, &A2, &mut A3) -> Ret + 'static,
Ret: 'static,
A0: Debug + Send + Sync + 'static,
A1: Debug + Send + Sync + 'static,
A2: Debug + Send + Sync + 'static,
A3: Debug + Send + Sync + 'static,
impl<Fun, Ret, A0, A1, A2, A3> FnRes for FnResource<Fun, Ret, (&A0, &mut A1, &mut A2, &A3)> where
Fun: Fn(&A0, &mut A1, &mut A2, &A3) -> Ret + 'static,
Ret: 'static,
A0: Debug + Send + Sync + 'static,
A1: Debug + Send + Sync + 'static,
A2: Debug + Send + Sync + 'static,
A3: Debug + Send + Sync + 'static,
impl<Fun, Ret, A0, A1, A2, A3> FnRes for FnResource<Fun, Ret, (&A0, &mut A1, &mut A2, &mut A3)> where
Fun: Fn(&A0, &mut A1, &mut A2, &mut A3) -> Ret + 'static,
Ret: 'static,
A0: Debug + Send + Sync + 'static,
A1: Debug + Send + Sync + 'static,
A2: Debug + Send + Sync + 'static,
A3: Debug + Send + Sync + 'static,
impl<Fun, Ret, A0, A1, A2, A3> FnRes for FnResource<Fun, Ret, (&mut A0, &A1, &A2, &A3)> where
Fun: Fn(&mut A0, &A1, &A2, &A3) -> Ret + 'static,
Ret: 'static,
A0: Debug + Send + Sync + 'static,
A1: Debug + Send + Sync + 'static,
A2: Debug + Send + Sync + 'static,
A3: Debug + Send + Sync + 'static,
impl<Fun, Ret, A0, A1, A2, A3> FnRes for FnResource<Fun, Ret, (&mut A0, &A1, &A2, &mut A3)> where
Fun: Fn(&mut A0, &A1, &A2, &mut A3) -> Ret + 'static,
Ret: 'static,
A0: Debug + Send + Sync + 'static,
A1: Debug + Send + Sync + 'static,
A2: Debug + Send + Sync + 'static,
A3: Debug + Send + Sync + 'static,
impl<Fun, Ret, A0, A1, A2, A3> FnRes for FnResource<Fun, Ret, (&mut A0, &A1, &mut A2, &A3)> where
Fun: Fn(&mut A0, &A1, &mut A2, &A3) -> Ret + 'static,
Ret: 'static,
A0: Debug + Send + Sync + 'static,
A1: Debug + Send + Sync + 'static,
A2: Debug + Send + Sync + 'static,
A3: Debug + Send + Sync + 'static,
impl<Fun, Ret, A0, A1, A2, A3> FnRes for FnResource<Fun, Ret, (&mut A0, &A1, &mut A2, &mut A3)> where
Fun: Fn(&mut A0, &A1, &mut A2, &mut A3) -> Ret + 'static,
Ret: 'static,
A0: Debug + Send + Sync + 'static,
A1: Debug + Send + Sync + 'static,
A2: Debug + Send + Sync + 'static,
A3: Debug + Send + Sync + 'static,
impl<Fun, Ret, A0, A1, A2, A3> FnRes for FnResource<Fun, Ret, (&mut A0, &mut A1, &A2, &A3)> where
Fun: Fn(&mut A0, &mut A1, &A2, &A3) -> Ret + 'static,
Ret: 'static,
A0: Debug + Send + Sync + 'static,
A1: Debug + Send + Sync + 'static,
A2: Debug + Send + Sync + 'static,
A3: Debug + Send + Sync + 'static,
impl<Fun, Ret, A0, A1, A2, A3> FnRes for FnResource<Fun, Ret, (&mut A0, &mut A1, &A2, &mut A3)> where
Fun: Fn(&mut A0, &mut A1, &A2, &mut A3) -> Ret + 'static,
Ret: 'static,
A0: Debug + Send + Sync + 'static,
A1: Debug + Send + Sync + 'static,
A2: Debug + Send + Sync + 'static,
A3: Debug + Send + Sync + 'static,
impl<Fun, Ret, A0, A1, A2, A3> FnRes for FnResource<Fun, Ret, (&mut A0, &mut A1, &mut A2, &A3)> where
Fun: Fn(&mut A0, &mut A1, &mut A2, &A3) -> Ret + 'static,
Ret: 'static,
A0: Debug + Send + Sync + 'static,
A1: Debug + Send + Sync + 'static,
A2: Debug + Send + Sync + 'static,
A3: Debug + Send + Sync + 'static,
impl<Fun, Ret, A0, A1, A2, A3> FnRes for FnResource<Fun, Ret, (&mut A0, &mut A1, &mut A2, &mut A3)> where
Fun: Fn(&mut A0, &mut A1, &mut A2, &mut A3) -> Ret + 'static,
Ret: 'static,
A0: Debug + Send + Sync + 'static,
A1: Debug + Send + Sync + 'static,
A2: Debug + Send + Sync + 'static,
A3: Debug + Send + Sync + 'static,
impl<Fun, Ret, A0, A1, A2, A3, A4> FnRes for FnResource<Fun, Ret, (&A0, &A1, &A2, &A3, &A4)> where
Fun: Fn(&A0, &A1, &A2, &A3, &A4) -> Ret + 'static,
Ret: 'static,
A0: Debug + Send + Sync + 'static,
A1: Debug + Send + Sync + 'static,
A2: Debug + Send + Sync + 'static,
A3: Debug + Send + Sync + 'static,
A4: Debug + Send + Sync + 'static,
impl<Fun, Ret, A0, A1, A2, A3, A4> FnRes for FnResource<Fun, Ret, (&A0, &A1, &A2, &A3, &mut A4)> where
Fun: Fn(&A0, &A1, &A2, &A3, &mut A4) -> Ret + 'static,
Ret: 'static,
A0: Debug + Send + Sync + 'static,
A1: Debug + Send + Sync + 'static,
A2: Debug + Send + Sync + 'static,
A3: Debug + Send + Sync + 'static,
A4: Debug + Send + Sync + 'static,
impl<Fun, Ret, A0, A1, A2, A3, A4> FnRes for FnResource<Fun, Ret, (&A0, &A1, &A2, &mut A3, &A4)> where
Fun: Fn(&A0, &A1, &A2, &mut A3, &A4) -> Ret + 'static,
Ret: 'static,
A0: Debug + Send + Sync + 'static,
A1: Debug + Send + Sync + 'static,
A2: Debug + Send + Sync + 'static,
A3: Debug + Send + Sync + 'static,
A4: Debug + Send + Sync + 'static,
impl<Fun, Ret, A0, A1, A2, A3, A4> FnRes for FnResource<Fun, Ret, (&A0, &A1, &A2, &mut A3, &mut A4)> where
Fun: Fn(&A0, &A1, &A2, &mut A3, &mut A4) -> Ret + 'static,
Ret: 'static,
A0: Debug + Send + Sync + 'static,
A1: Debug + Send + Sync + 'static,
A2: Debug + Send + Sync + 'static,
A3: Debug + Send + Sync + 'static,
A4: Debug + Send + Sync + 'static,
impl<Fun, Ret, A0, A1, A2, A3, A4> FnRes for FnResource<Fun, Ret, (&A0, &A1, &mut A2, &A3, &A4)> where
Fun: Fn(&A0, &A1, &mut A2, &A3, &A4) -> Ret + 'static,
Ret: 'static,
A0: Debug + Send + Sync + 'static,
A1: Debug + Send + Sync + 'static,
A2: Debug + Send + Sync + 'static,
A3: Debug + Send + Sync + 'static,
A4: Debug + Send + Sync + 'static,
impl<Fun, Ret, A0, A1, A2, A3, A4> FnRes for FnResource<Fun, Ret, (&A0, &A1, &mut A2, &A3, &mut A4)> where
Fun: Fn(&A0, &A1, &mut A2, &A3, &mut A4) -> Ret + 'static,
Ret: 'static,
A0: Debug + Send + Sync + 'static,
A1: Debug + Send + Sync + 'static,
A2: Debug + Send + Sync + 'static,
A3: Debug + Send + Sync + 'static,
A4: Debug + Send + Sync + 'static,
impl<Fun, Ret, A0, A1, A2, A3, A4> FnRes for FnResource<Fun, Ret, (&A0, &A1, &mut A2, &mut A3, &A4)> where
Fun: Fn(&A0, &A1, &mut A2, &mut A3, &A4) -> Ret + 'static,
Ret: 'static,
A0: Debug + Send + Sync + 'static,
A1: Debug + Send + Sync + 'static,
A2: Debug + Send + Sync + 'static,
A3: Debug + Send + Sync + 'static,
A4: Debug + Send + Sync + 'static,
impl<Fun, Ret, A0, A1, A2, A3, A4> FnRes for FnResource<Fun, Ret, (&A0, &A1, &mut A2, &mut A3, &mut A4)> where
Fun: Fn(&A0, &A1, &mut A2, &mut A3, &mut A4) -> Ret + 'static,
Ret: 'static,
A0: Debug + Send + Sync + 'static,
A1: Debug + Send + Sync + 'static,
A2: Debug + Send + Sync + 'static,
A3: Debug + Send + Sync + 'static,
A4: Debug + Send + Sync + 'static,
impl<Fun, Ret, A0, A1, A2, A3, A4> FnRes for FnResource<Fun, Ret, (&A0, &mut A1, &A2, &A3, &A4)> where
Fun: Fn(&A0, &mut A1, &A2, &A3, &A4) -> Ret + 'static,
Ret: 'static,
A0: Debug + Send + Sync + 'static,
A1: Debug + Send + Sync + 'static,
A2: Debug + Send + Sync + 'static,
A3: Debug + Send + Sync + 'static,
A4: Debug + Send + Sync + 'static,
impl<Fun, Ret, A0, A1, A2, A3, A4> FnRes for FnResource<Fun, Ret, (&A0, &mut A1, &A2, &A3, &mut A4)> where
Fun: Fn(&A0, &mut A1, &A2, &A3, &mut A4) -> Ret + 'static,
Ret: 'static,
A0: Debug + Send + Sync + 'static,
A1: Debug + Send + Sync + 'static,
A2: Debug + Send + Sync + 'static,
A3: Debug + Send + Sync + 'static,
A4: Debug + Send + Sync + 'static,
impl<Fun, Ret, A0, A1, A2, A3, A4> FnRes for FnResource<Fun, Ret, (&A0, &mut A1, &A2, &mut A3, &A4)> where
Fun: Fn(&A0, &mut A1, &A2, &mut A3, &A4) -> Ret + 'static,
Ret: 'static,
A0: Debug + Send + Sync + 'static,
A1: Debug + Send + Sync + 'static,
A2: Debug + Send + Sync + 'static,
A3: Debug + Send + Sync + 'static,
A4: Debug + Send + Sync + 'static,
impl<Fun, Ret, A0, A1, A2, A3, A4> FnRes for FnResource<Fun, Ret, (&A0, &mut A1, &A2, &mut A3, &mut A4)> where
Fun: Fn(&A0, &mut A1, &A2, &mut A3, &mut A4) -> Ret + 'static,
Ret: 'static,
A0: Debug + Send + Sync + 'static,
A1: Debug + Send + Sync + 'static,
A2: Debug + Send + Sync + 'static,
A3: Debug + Send + Sync + 'static,
A4: Debug + Send + Sync + 'static,
impl<Fun, Ret, A0, A1, A2, A3, A4> FnRes for FnResource<Fun, Ret, (&A0, &mut A1, &mut A2, &A3, &A4)> where
Fun: Fn(&A0, &mut A1, &mut A2, &A3, &A4) -> Ret + 'static,
Ret: 'static,
A0: Debug + Send + Sync + 'static,
A1: Debug + Send + Sync + 'static,
A2: Debug + Send + Sync + 'static,
A3: Debug + Send + Sync + 'static,
A4: Debug + Send + Sync + 'static,
impl<Fun, Ret, A0, A1, A2, A3, A4> FnRes for FnResource<Fun, Ret, (&A0, &mut A1, &mut A2, &A3, &mut A4)> where
Fun: Fn(&A0, &mut A1, &mut A2, &A3, &mut A4) -> Ret + 'static,
Ret: 'static,
A0: Debug + Send + Sync + 'static,
A1: Debug + Send + Sync + 'static,
A2: Debug + Send + Sync + 'static,
A3: Debug + Send + Sync + 'static,
A4: Debug + Send + Sync + 'static,
impl<Fun, Ret, A0, A1, A2, A3, A4> FnRes for FnResource<Fun, Ret, (&A0, &mut A1, &mut A2, &mut A3, &A4)> where
Fun: Fn(&A0, &mut A1, &mut A2, &mut A3, &A4) -> Ret + 'static,
Ret: 'static,
A0: Debug + Send + Sync + 'static,
A1: Debug + Send + Sync + 'static,
A2: Debug + Send + Sync + 'static,
A3: Debug + Send + Sync + 'static,
A4: Debug + Send + Sync + 'static,
impl<Fun, Ret, A0, A1, A2, A3, A4> FnRes for FnResource<Fun, Ret, (&A0, &mut A1, &mut A2, &mut A3, &mut A4)> where
Fun: Fn(&A0, &mut A1, &mut A2, &mut A3, &mut A4) -> Ret + 'static,
Ret: 'static,
A0: Debug + Send + Sync + 'static,
A1: Debug + Send + Sync + 'static,
A2: Debug + Send + Sync + 'static,
A3: Debug + Send + Sync + 'static,
A4: Debug + Send + Sync + 'static,
impl<Fun, Ret, A0, A1, A2, A3, A4> FnRes for FnResource<Fun, Ret, (&mut A0, &A1, &A2, &A3, &A4)> where
Fun: Fn(&mut A0, &A1, &A2, &A3, &A4) -> Ret + 'static,
Ret: 'static,
A0: Debug + Send + Sync + 'static,
A1: Debug + Send + Sync + 'static,
A2: Debug + Send + Sync + 'static,
A3: Debug + Send + Sync + 'static,
A4: Debug + Send + Sync + 'static,
impl<Fun, Ret, A0, A1, A2, A3, A4> FnRes for FnResource<Fun, Ret, (&mut A0, &A1, &A2, &A3, &mut A4)> where
Fun: Fn(&mut A0, &A1, &A2, &A3, &mut A4) -> Ret + 'static,
Ret: 'static,
A0: Debug + Send + Sync + 'static,
A1: Debug + Send + Sync + 'static,
A2: Debug + Send + Sync + 'static,
A3: Debug + Send + Sync + 'static,
A4: Debug + Send + Sync + 'static,
impl<Fun, Ret, A0, A1, A2, A3, A4> FnRes for FnResource<Fun, Ret, (&mut A0, &A1, &A2, &mut A3, &A4)> where
Fun: Fn(&mut A0, &A1, &A2, &mut A3, &A4) -> Ret + 'static,
Ret: 'static,
A0: Debug + Send + Sync + 'static,
A1: Debug + Send + Sync + 'static,
A2: Debug + Send + Sync + 'static,
A3: Debug + Send + Sync + 'static,
A4: Debug + Send + Sync + 'static,
impl<Fun, Ret, A0, A1, A2, A3, A4> FnRes for FnResource<Fun, Ret, (&mut A0, &A1, &A2, &mut A3, &mut A4)> where
Fun: Fn(&mut A0, &A1, &A2, &mut A3, &mut A4) -> Ret + 'static,
Ret: 'static,
A0: Debug + Send + Sync + 'static,
A1: Debug + Send + Sync + 'static,
A2: Debug + Send + Sync + 'static,
A3: Debug + Send + Sync + 'static,
A4: Debug + Send + Sync + 'static,
impl<Fun, Ret, A0, A1, A2, A3, A4> FnRes for FnResource<Fun, Ret, (&mut A0, &A1, &mut A2, &A3, &A4)> where
Fun: Fn(&mut A0, &A1, &mut A2, &A3, &A4) -> Ret + 'static,
Ret: 'static,
A0: Debug + Send + Sync + 'static,
A1: Debug + Send + Sync + 'static,
A2: Debug + Send + Sync + 'static,
A3: Debug + Send + Sync + 'static,
A4: Debug + Send + Sync + 'static,
impl<Fun, Ret, A0, A1, A2, A3, A4> FnRes for FnResource<Fun, Ret, (&mut A0, &A1, &mut A2, &A3, &mut A4)> where
Fun: Fn(&mut A0, &A1, &mut A2, &A3, &mut A4) -> Ret + 'static,
Ret: 'static,
A0: Debug + Send + Sync + 'static,
A1: Debug + Send + Sync + 'static,
A2: Debug + Send + Sync + 'static,
A3: Debug + Send + Sync + 'static,
A4: Debug + Send + Sync + 'static,
impl<Fun, Ret, A0, A1, A2, A3, A4> FnRes for FnResource<Fun, Ret, (&mut A0, &A1, &mut A2, &mut A3, &A4)> where
Fun: Fn(&mut A0, &A1, &mut A2, &mut A3, &A4) -> Ret + 'static,
Ret: 'static,
A0: Debug + Send + Sync + 'static,
A1: Debug + Send + Sync + 'static,
A2: Debug + Send + Sync + 'static,
A3: Debug + Send + Sync + 'static,
A4: Debug + Send + Sync + 'static,
impl<Fun, Ret, A0, A1, A2, A3, A4> FnRes for FnResource<Fun, Ret, (&mut A0, &A1, &mut A2, &mut A3, &mut A4)> where
Fun: Fn(&mut A0, &A1, &mut A2, &mut A3, &mut A4) -> Ret + 'static,
Ret: 'static,
A0: Debug + Send + Sync + 'static,
A1: Debug + Send + Sync + 'static,
A2: Debug + Send + Sync + 'static,
A3: Debug + Send + Sync + 'static,
A4: Debug + Send + Sync + 'static,
impl<Fun, Ret, A0, A1, A2, A3, A4> FnRes for FnResource<Fun, Ret, (&mut A0, &mut A1, &A2, &A3, &A4)> where
Fun: Fn(&mut A0, &mut A1, &A2, &A3, &A4) -> Ret + 'static,
Ret: 'static,
A0: Debug + Send + Sync + 'static,
A1: Debug + Send + Sync + 'static,
A2: Debug + Send + Sync + 'static,
A3: Debug + Send + Sync + 'static,
A4: Debug + Send + Sync + 'static,
impl<Fun, Ret, A0, A1, A2, A3, A4> FnRes for FnResource<Fun, Ret, (&mut A0, &mut A1, &A2, &A3, &mut A4)> where
Fun: Fn(&mut A0, &mut A1, &A2, &A3, &mut A4) -> Ret + 'static,
Ret: 'static,
A0: Debug + Send + Sync + 'static,
A1: Debug + Send + Sync + 'static,
A2: Debug + Send + Sync + 'static,
A3: Debug + Send + Sync + 'static,
A4: Debug + Send + Sync + 'static,
impl<Fun, Ret, A0, A1, A2, A3, A4> FnRes for FnResource<Fun, Ret, (&mut A0, &mut A1, &A2, &mut A3, &A4)> where
Fun: Fn(&mut A0, &mut A1, &A2, &mut A3, &A4) -> Ret + 'static,
Ret: 'static,
A0: Debug + Send + Sync + 'static,
A1: Debug + Send + Sync + 'static,
A2: Debug + Send + Sync + 'static,
A3: Debug + Send + Sync + 'static,
A4: Debug + Send + Sync + 'static,
impl<Fun, Ret, A0, A1, A2, A3, A4> FnRes for FnResource<Fun, Ret, (&mut A0, &mut A1, &A2, &mut A3, &mut A4)> where
Fun: Fn(&mut A0, &mut A1, &A2, &mut A3, &mut A4) -> Ret + 'static,
Ret: 'static,
A0: Debug + Send + Sync + 'static,
A1: Debug + Send + Sync + 'static,
A2: Debug + Send + Sync + 'static,
A3: Debug + Send + Sync + 'static,
A4: Debug + Send + Sync + 'static,
impl<Fun, Ret, A0, A1, A2, A3, A4> FnRes for FnResource<Fun, Ret, (&mut A0, &mut A1, &mut A2, &A3, &A4)> where
Fun: Fn(&mut A0, &mut A1, &mut A2, &A3, &A4) -> Ret + 'static,
Ret: 'static,
A0: Debug + Send + Sync + 'static,
A1: Debug + Send + Sync + 'static,
A2: Debug + Send + Sync + 'static,
A3: Debug + Send + Sync + 'static,
A4: Debug + Send + Sync + 'static,
impl<Fun, Ret, A0, A1, A2, A3, A4> FnRes for FnResource<Fun, Ret, (&mut A0, &mut A1, &mut A2, &A3, &mut A4)> where
Fun: Fn(&mut A0, &mut A1, &mut A2, &A3, &mut A4) -> Ret + 'static,
Ret: 'static,
A0: Debug + Send + Sync + 'static,
A1: Debug + Send + Sync + 'static,
A2: Debug + Send + Sync + 'static,
A3: Debug + Send + Sync + 'static,
A4: Debug + Send + Sync + 'static,
impl<Fun, Ret, A0, A1, A2, A3, A4> FnRes for FnResource<Fun, Ret, (&mut A0, &mut A1, &mut A2, &mut A3, &A4)> where
Fun: Fn(&mut A0, &mut A1, &mut A2, &mut A3, &A4) -> Ret + 'static,
Ret: 'static,
A0: Debug + Send + Sync + 'static,
A1: Debug + Send + Sync + 'static,
A2: Debug + Send + Sync + 'static,
A3: Debug + Send + Sync + 'static,
A4: Debug + Send + Sync + 'static,
impl<Fun, Ret, A0, A1, A2, A3, A4> FnRes for FnResource<Fun, Ret, (&mut A0, &mut A1, &mut A2, &mut A3, &mut A4)> where
Fun: Fn(&mut A0, &mut A1, &mut A2, &mut A3, &mut A4) -> Ret + 'static,
Ret: 'static,
A0: Debug + Send + Sync + 'static,
A1: Debug + Send + Sync + 'static,
A2: Debug + Send + Sync + 'static,
A3: Debug + Send + Sync + 'static,
A4: Debug + Send + Sync + 'static,
impl<Fun, Ret, A0, A1, A2, A3, A4, A5> FnRes for FnResource<Fun, Ret, (&A0, &A1, &A2, &A3, &A4, &A5)> where
Fun: Fn(&A0, &A1, &A2, &A3, &A4, &A5) -> Ret + 'static,
Ret: 'static,
A0: Debug + Send + Sync + 'static,
A1: Debug + Send + Sync + 'static,
A2: Debug + Send + Sync + 'static,
A3: Debug + Send + Sync + 'static,
A4: Debug + Send + Sync + 'static,
A5: Debug + Send + Sync + 'static,
impl<Fun, Ret, A0, A1, A2, A3, A4, A5> FnRes for FnResource<Fun, Ret, (&A0, &A1, &A2, &A3, &A4, &mut A5)> where
Fun: Fn(&A0, &A1, &A2, &A3, &A4, &mut A5) -> Ret + 'static,
Ret: 'static,
A0: Debug + Send + Sync + 'static,
A1: Debug + Send + Sync + 'static,
A2: Debug + Send + Sync + 'static,
A3: Debug + Send + Sync + 'static,
A4: Debug + Send + Sync + 'static,
A5: Debug + Send + Sync + 'static,
impl<Fun, Ret, A0, A1, A2, A3, A4, A5> FnRes for FnResource<Fun, Ret, (&A0, &A1, &A2, &A3, &mut A4, &A5)> where
Fun: Fn(&A0, &A1, &A2, &A3, &mut A4, &A5) -> Ret + 'static,
Ret: 'static,
A0: Debug + Send + Sync + 'static,
A1: Debug + Send + Sync + 'static,
A2: Debug + Send + Sync + 'static,
A3: Debug + Send + Sync + 'static,
A4: Debug + Send + Sync + 'static,
A5: Debug + Send + Sync + 'static,
impl<Fun, Ret, A0, A1, A2, A3, A4, A5> FnRes for FnResource<Fun, Ret, (&A0, &A1, &A2, &A3, &mut A4, &mut A5)> where
Fun: Fn(&A0, &A1, &A2, &A3, &mut A4, &mut A5) -> Ret + 'static,
Ret: 'static,
A0: Debug + Send + Sync + 'static,
A1: Debug + Send + Sync + 'static,
A2: Debug + Send + Sync + 'static,
A3: Debug + Send + Sync + 'static,
A4: Debug + Send + Sync + 'static,
A5: Debug + Send + Sync + 'static,
impl<Fun, Ret, A0, A1, A2, A3, A4, A5> FnRes for FnResource<Fun, Ret, (&A0, &A1, &A2, &mut A3, &A4, &A5)> where
Fun: Fn(&A0, &A1, &A2, &mut A3, &A4, &A5) -> Ret + 'static,
Ret: 'static,
A0: Debug + Send + Sync + 'static,
A1: Debug + Send + Sync + 'static,
A2: Debug + Send + Sync + 'static,
A3: Debug + Send + Sync + 'static,
A4: Debug + Send + Sync + 'static,
A5: Debug + Send + Sync + 'static,
impl<Fun, Ret, A0, A1, A2, A3, A4, A5> FnRes for FnResource<Fun, Ret, (&A0, &A1, &A2, &mut A3, &A4, &mut A5)> where
Fun: Fn(&A0, &A1, &A2, &mut A3, &A4, &mut A5) -> Ret + 'static,
Ret: 'static,
A0: Debug + Send + Sync + 'static,
A1: Debug + Send + Sync + 'static,
A2: Debug + Send + Sync + 'static,
A3: Debug + Send + Sync + 'static,
A4: Debug + Send + Sync + 'static,
A5: Debug + Send + Sync + 'static,
impl<Fun, Ret, A0, A1, A2, A3, A4, A5> FnRes for FnResource<Fun, Ret, (&A0, &A1, &A2, &mut A3, &mut A4, &A5)> where
Fun: Fn(&A0, &A1, &A2, &mut A3, &mut A4, &A5) -> Ret + 'static,
Ret: 'static,
A0: Debug + Send + Sync + 'static,
A1: Debug + Send + Sync + 'static,
A2: Debug + Send + Sync + 'static,
A3: Debug + Send + Sync + 'static,
A4: Debug + Send + Sync + 'static,
A5: Debug + Send + Sync + 'static,
impl<Fun, Ret, A0, A1, A2, A3, A4, A5> FnRes for FnResource<Fun, Ret, (&A0, &A1, &A2, &mut A3, &mut A4, &mut A5)> where
Fun: Fn(&A0, &A1, &A2, &mut A3, &mut A4, &mut A5) -> Ret + 'static,
Ret: 'static,
A0: Debug + Send + Sync + 'static,
A1: Debug + Send + Sync + 'static,
A2: Debug + Send + Sync + 'static,
A3: Debug + Send + Sync + 'static,
A4: Debug + Send + Sync + 'static,
A5: Debug + Send + Sync + 'static,
impl<Fun, Ret, A0, A1, A2, A3, A4, A5> FnRes for FnResource<Fun, Ret, (&A0, &A1, &mut A2, &A3, &A4, &A5)> where
Fun: Fn(&A0, &A1, &mut A2, &A3, &A4, &A5) -> Ret + 'static,
Ret: 'static,
A0: Debug + Send + Sync + 'static,
A1: Debug + Send + Sync + 'static,
A2: Debug + Send + Sync + 'static,
A3: Debug + Send + Sync + 'static,
A4: Debug + Send + Sync + 'static,
A5: Debug + Send + Sync + 'static,
impl<Fun, Ret, A0, A1, A2, A3, A4, A5> FnRes for FnResource<Fun, Ret, (&A0, &A1, &mut A2, &A3, &A4, &mut A5)> where
Fun: Fn(&A0, &A1, &mut A2, &A3, &A4, &mut A5) -> Ret + 'static,
Ret: 'static,
A0: Debug + Send + Sync + 'static,
A1: Debug + Send + Sync + 'static,
A2: Debug + Send + Sync + 'static,
A3: Debug + Send + Sync + 'static,
A4: Debug + Send + Sync + 'static,
A5: Debug + Send + Sync + 'static,
impl<Fun, Ret, A0, A1, A2, A3, A4, A5> FnRes for FnResource<Fun, Ret, (&A0, &A1, &mut A2, &A3, &mut A4, &A5)> where
Fun: Fn(&A0, &A1, &mut A2, &A3, &mut A4, &A5) -> Ret + 'static,
Ret: 'static,
A0: Debug + Send + Sync + 'static,
A1: Debug + Send + Sync + 'static,
A2: Debug + Send + Sync + 'static,
A3: Debug + Send + Sync + 'static,
A4: Debug + Send + Sync + 'static,
A5: Debug + Send + Sync + 'static,
impl<Fun, Ret, A0, A1, A2, A3, A4, A5> FnRes for FnResource<Fun, Ret, (&A0, &A1, &mut A2, &A3, &mut A4, &mut A5)> where
Fun: Fn(&A0, &A1, &mut A2, &A3, &mut A4, &mut A5) -> Ret + 'static,
Ret: 'static,
A0: Debug + Send + Sync + 'static,
A1: Debug + Send + Sync + 'static,
A2: Debug + Send + Sync + 'static,
A3: Debug + Send + Sync + 'static,
A4: Debug + Send + Sync + 'static,
A5: Debug + Send + Sync + 'static,
impl<Fun, Ret, A0, A1, A2, A3, A4, A5> FnRes for FnResource<Fun, Ret, (&A0, &A1, &mut A2, &mut A3, &A4, &A5)> where
Fun: Fn(&A0, &A1, &mut A2, &mut A3, &A4, &A5) -> Ret + 'static,
Ret: 'static,
A0: Debug + Send + Sync + 'static,
A1: Debug + Send + Sync + 'static,
A2: Debug + Send + Sync + 'static,
A3: Debug + Send + Sync + 'static,
A4: Debug + Send + Sync + 'static,
A5: Debug + Send + Sync + 'static,
impl<Fun, Ret, A0, A1, A2, A3, A4, A5> FnRes for FnResource<Fun, Ret, (&A0, &A1, &mut A2, &mut A3, &A4, &mut A5)> where
Fun: Fn(&A0, &A1, &mut A2, &mut A3, &A4, &mut A5) -> Ret + 'static,
Ret: 'static,
A0: Debug + Send + Sync + 'static,
A1: Debug + Send + Sync + 'static,
A2: Debug + Send + Sync + 'static,
A3: Debug + Send + Sync + 'static,
A4: Debug + Send + Sync + 'static,
A5: Debug + Send + Sync + 'static,
impl<Fun, Ret, A0, A1, A2, A3, A4, A5> FnRes for FnResource<Fun, Ret, (&A0, &A1, &mut A2, &mut A3, &mut A4, &A5)> where
Fun: Fn(&A0, &A1, &mut A2, &mut A3, &mut A4, &A5) -> Ret + 'static,
Ret: 'static,
A0: Debug + Send + Sync + 'static,
A1: Debug + Send + Sync + 'static,
A2: Debug + Send + Sync + 'static,
A3: Debug + Send + Sync + 'static,
A4: Debug + Send + Sync + 'static,
A5: Debug + Send + Sync + 'static,
impl<Fun, Ret, A0, A1, A2, A3, A4, A5> FnRes for FnResource<Fun, Ret, (&A0, &A1, &mut A2, &mut A3, &mut A4, &mut A5)> where
Fun: Fn(&A0, &A1, &mut A2, &mut A3, &mut A4, &mut A5) -> Ret + 'static,
Ret: 'static,
A0: Debug + Send + Sync + 'static,
A1: Debug + Send + Sync + 'static,
A2: Debug + Send + Sync + 'static,
A3: Debug + Send + Sync + 'static,
A4: Debug + Send + Sync + 'static,
A5: Debug + Send + Sync + 'static,
impl<Fun, Ret, A0, A1, A2, A3, A4, A5> FnRes for FnResource<Fun, Ret, (&A0, &mut A1, &A2, &A3, &A4, &A5)> where
Fun: Fn(&A0, &mut A1, &A2, &A3, &A4, &A5) -> Ret + 'static,
Ret: 'static,
A0: Debug + Send + Sync + 'static,
A1: Debug + Send + Sync + 'static,
A2: Debug + Send + Sync + 'static,
A3: Debug + Send + Sync + 'static,
A4: Debug + Send + Sync + 'static,
A5: Debug + Send + Sync + 'static,
impl<Fun, Ret, A0, A1, A2, A3, A4, A5> FnRes for FnResource<Fun, Ret, (&A0, &mut A1, &A2, &A3, &A4, &mut A5)> where
Fun: Fn(&A0, &mut A1, &A2, &A3, &A4, &mut A5) -> Ret + 'static,
Ret: 'static,
A0: Debug + Send + Sync + 'static,
A1: Debug + Send + Sync + 'static,
A2: Debug + Send + Sync + 'static,
A3: Debug + Send + Sync + 'static,
A4: Debug + Send + Sync + 'static,
A5: Debug + Send + Sync + 'static,
impl<Fun, Ret, A0, A1, A2, A3, A4, A5> FnRes for FnResource<Fun, Ret, (&A0, &mut A1, &A2, &A3, &mut A4, &A5)> where
Fun: Fn(&A0, &mut A1, &A2, &A3, &mut A4, &A5) -> Ret + 'static,
Ret: 'static,
A0: Debug + Send + Sync + 'static,
A1: Debug + Send + Sync + 'static,
A2: Debug + Send + Sync + 'static,
A3: Debug + Send + Sync + 'static,
A4: Debug + Send + Sync + 'static,
A5: Debug + Send + Sync + 'static,
impl<Fun, Ret, A0, A1, A2, A3, A4, A5> FnRes for FnResource<Fun, Ret, (&A0, &mut A1, &A2, &A3, &mut A4, &mut A5)> where
Fun: Fn(&A0, &mut A1, &A2, &A3, &mut A4, &mut A5) -> Ret + 'static,
Ret: 'static,
A0: Debug + Send + Sync + 'static,
A1: Debug + Send + Sync + 'static,
A2: Debug + Send + Sync + 'static,
A3: Debug + Send + Sync + 'static,
A4: Debug + Send + Sync + 'static,
A5: Debug + Send + Sync + 'static,
impl<Fun, Ret, A0, A1, A2, A3, A4, A5> FnRes for FnResource<Fun, Ret, (&A0, &mut A1, &A2, &mut A3, &A4, &A5)> where
Fun: Fn(&A0, &mut A1, &A2, &mut A3, &A4, &A5) -> Ret + 'static,
Ret: 'static,
A0: Debug + Send + Sync + 'static,
A1: Debug + Send + Sync + 'static,
A2: Debug + Send + Sync + 'static,
A3: Debug + Send + Sync + 'static,
A4: Debug + Send + Sync + 'static,
A5: Debug + Send + Sync + 'static,
impl<Fun, Ret, A0, A1, A2, A3, A4, A5> FnRes for FnResource<Fun, Ret, (&A0, &mut A1, &A2, &mut A3, &A4, &mut A5)> where
Fun: Fn(&A0, &mut A1, &A2, &mut A3, &A4, &mut A5) -> Ret + 'static,
Ret: 'static,
A0: Debug + Send + Sync + 'static,
A1: Debug + Send + Sync + 'static,
A2: Debug + Send + Sync + 'static,
A3: Debug + Send + Sync + 'static,
A4: Debug + Send + Sync + 'static,
A5: Debug + Send + Sync + 'static,
impl<Fun, Ret, A0, A1, A2, A3, A4, A5> FnRes for FnResource<Fun, Ret, (&A0, &mut A1, &A2, &mut A3, &mut A4, &A5)> where
Fun: Fn(&A0, &mut A1, &A2, &mut A3, &mut A4, &A5) -> Ret + 'static,
Ret: 'static,
A0: Debug + Send + Sync + 'static,
A1: Debug + Send + Sync + 'static,
A2: Debug + Send + Sync + 'static,
A3: Debug + Send + Sync + 'static,
A4: Debug + Send + Sync + 'static,
A5: Debug + Send + Sync + 'static,
impl<Fun, Ret, A0, A1, A2, A3, A4, A5> FnRes for FnResource<Fun, Ret, (&A0, &mut A1, &A2, &mut A3, &mut A4, &mut A5)> where
Fun: Fn(&A0, &mut A1, &A2, &mut A3, &mut A4, &mut A5) -> Ret + 'static,
Ret: 'static,
A0: Debug + Send + Sync + 'static,
A1: Debug + Send + Sync + 'static,
A2: Debug + Send + Sync + 'static,
A3: Debug + Send + Sync + 'static,
A4: Debug + Send + Sync + 'static,
A5: Debug + Send + Sync + 'static,
impl<Fun, Ret, A0, A1, A2, A3, A4, A5> FnRes for FnResource<Fun, Ret, (&A0, &mut A1, &mut A2, &A3, &A4, &A5)> where
Fun: Fn(&A0, &mut A1, &mut A2, &A3, &A4, &A5) -> Ret + 'static,
Ret: 'static,
A0: Debug + Send + Sync + 'static,
A1: Debug + Send + Sync + 'static,
A2: Debug + Send + Sync + 'static,
A3: Debug + Send + Sync + 'static,
A4: Debug + Send + Sync + 'static,
A5: Debug + Send + Sync + 'static,
impl<Fun, Ret, A0, A1, A2, A3, A4, A5> FnRes for FnResource<Fun, Ret, (&A0, &mut A1, &mut A2, &A3, &A4, &mut A5)> where
Fun: Fn(&A0, &mut A1, &mut A2, &A3, &A4, &mut A5) -> Ret + 'static,
Ret: 'static,
A0: Debug + Send + Sync + 'static,
A1: Debug + Send + Sync + 'static,
A2: Debug + Send + Sync + 'static,
A3: Debug + Send + Sync + 'static,
A4: Debug + Send + Sync + 'static,
A5: Debug + Send + Sync + 'static,
impl<Fun, Ret, A0, A1, A2, A3, A4, A5> FnRes for FnResource<Fun, Ret, (&A0, &mut A1, &mut A2, &A3, &mut A4, &A5)> where
Fun: Fn(&A0, &mut A1, &mut A2, &A3, &mut A4, &A5) -> Ret + 'static,
Ret: 'static,
A0: Debug + Send + Sync + 'static,
A1: Debug + Send + Sync + 'static,
A2: Debug + Send + Sync + 'static,
A3: Debug + Send + Sync + 'static,
A4: Debug + Send + Sync + 'static,
A5: Debug + Send + Sync + 'static,
impl<Fun, Ret, A0, A1, A2, A3, A4, A5> FnRes for FnResource<Fun, Ret, (&A0, &mut A1, &mut A2, &A3, &mut A4, &mut A5)> where
Fun: Fn(&A0, &mut A1, &mut A2, &A3, &mut A4, &mut A5) -> Ret + 'static,
Ret: 'static,
A0: Debug + Send + Sync + 'static,
A1: Debug + Send + Sync + 'static,
A2: Debug + Send + Sync + 'static,
A3: Debug + Send + Sync + 'static,
A4: Debug + Send + Sync + 'static,
A5: Debug + Send + Sync + 'static,
impl<Fun, Ret, A0, A1, A2, A3, A4, A5> FnRes for FnResource<Fun, Ret, (&A0, &mut A1, &mut A2, &mut A3, &A4, &A5)> where
Fun: Fn(&A0, &mut A1, &mut A2, &mut A3, &A4, &A5) -> Ret + 'static,
Ret: 'static,
A0: Debug + Send + Sync + 'static,
A1: Debug + Send + Sync + 'static,
A2: Debug + Send + Sync + 'static,
A3: Debug + Send + Sync + 'static,
A4: Debug + Send + Sync + 'static,
A5: Debug + Send + Sync + 'static,
impl<Fun, Ret, A0, A1, A2, A3, A4, A5> FnRes for FnResource<Fun, Ret, (&A0, &mut A1, &mut A2, &mut A3, &A4, &mut A5)> where
Fun: Fn(&A0, &mut A1, &mut A2, &mut A3, &A4, &mut A5) -> Ret + 'static,
Ret: 'static,
A0: Debug + Send + Sync + 'static,
A1: Debug + Send + Sync + 'static,
A2: Debug + Send + Sync + 'static,
A3: Debug + Send + Sync + 'static,
A4: Debug + Send + Sync + 'static,
A5: Debug + Send + Sync + 'static,
impl<Fun, Ret, A0, A1, A2, A3, A4, A5> FnRes for FnResource<Fun, Ret, (&A0, &mut A1, &mut A2, &mut A3, &mut A4, &A5)> where
Fun: Fn(&A0, &mut A1, &mut A2, &mut A3, &mut A4, &A5) -> Ret + 'static,
Ret: 'static,
A0: Debug + Send + Sync + 'static,
A1: Debug + Send + Sync + 'static,
A2: Debug + Send + Sync + 'static,
A3: Debug + Send + Sync + 'static,
A4: Debug + Send + Sync + 'static,
A5: Debug + Send + Sync + 'static,
impl<Fun, Ret, A0, A1, A2, A3, A4, A5> FnRes for FnResource<Fun, Ret, (&A0, &mut A1, &mut A2, &mut A3, &mut A4, &mut A5)> where
Fun: Fn(&A0, &mut A1, &mut A2, &mut A3, &mut A4, &mut A5) -> Ret + 'static,
Ret: 'static,
A0: Debug + Send + Sync + 'static,
A1: Debug + Send + Sync + 'static,
A2: Debug + Send + Sync + 'static,
A3: Debug + Send + Sync + 'static,
A4: Debug + Send + Sync + 'static,
A5: Debug + Send + Sync + 'static,
impl<Fun, Ret, A0, A1, A2, A3, A4, A5> FnRes for FnResource<Fun, Ret, (&mut A0, &A1, &A2, &A3, &A4, &A5)> where
Fun: Fn(&mut A0, &A1, &A2, &A3, &A4, &A5) -> Ret + 'static,
Ret: 'static,
A0: Debug + Send + Sync + 'static,
A1: Debug + Send + Sync + 'static,
A2: Debug + Send + Sync + 'static,
A3: Debug + Send + Sync + 'static,
A4: Debug + Send + Sync + 'static,
A5: Debug + Send + Sync + 'static,
impl<Fun, Ret, A0, A1, A2, A3, A4, A5> FnRes for FnResource<Fun, Ret, (&mut A0, &A1, &A2, &A3, &A4, &mut A5)> where
Fun: Fn(&mut A0, &A1, &A2, &A3, &A4, &mut A5) -> Ret + 'static,
Ret: 'static,
A0: Debug + Send + Sync + 'static,
A1: Debug + Send + Sync + 'static,
A2: Debug + Send + Sync + 'static,
A3: Debug + Send + Sync + 'static,
A4: Debug + Send + Sync + 'static,
A5: Debug + Send + Sync + 'static,
impl<Fun, Ret, A0, A1, A2, A3, A4, A5> FnRes for FnResource<Fun, Ret, (&mut A0, &A1, &A2, &A3, &mut A4, &A5)> where
Fun: Fn(&mut A0, &A1, &A2, &A3, &mut A4, &A5) -> Ret + 'static,
Ret: 'static,
A0: Debug + Send + Sync + 'static,
A1: Debug + Send + Sync + 'static,
A2: Debug + Send + Sync + 'static,
A3: Debug + Send + Sync + 'static,
A4: Debug + Send + Sync + 'static,
A5: Debug + Send + Sync + 'static,
impl<Fun, Ret, A0, A1, A2, A3, A4, A5> FnRes for FnResource<Fun, Ret, (&mut A0, &A1, &A2, &A3, &mut A4, &mut A5)> where
Fun: Fn(&mut A0, &A1, &A2, &A3, &mut A4, &mut A5) -> Ret + 'static,
Ret: 'static,
A0: Debug + Send + Sync + 'static,
A1: Debug + Send + Sync + 'static,
A2: Debug + Send + Sync + 'static,
A3: Debug + Send + Sync + 'static,
A4: Debug + Send + Sync + 'static,
A5: Debug + Send + Sync + 'static,
impl<Fun, Ret, A0, A1, A2, A3, A4, A5> FnRes for FnResource<Fun, Ret, (&mut A0, &A1, &A2, &mut A3, &A4, &A5)> where
Fun: Fn(&mut A0, &A1, &A2, &mut A3, &A4, &A5) -> Ret + 'static,
Ret: 'static,
A0: Debug + Send + Sync + 'static,
A1: Debug + Send + Sync + 'static,
A2: Debug + Send + Sync + 'static,
A3: Debug + Send + Sync + 'static,
A4: Debug + Send + Sync + 'static,
A5: Debug + Send + Sync + 'static,
impl<Fun, Ret, A0, A1, A2, A3, A4, A5> FnRes for FnResource<Fun, Ret, (&mut A0, &A1, &A2, &mut A3, &A4, &mut A5)> where
Fun: Fn(&mut A0, &A1, &A2, &mut A3, &A4, &mut A5) -> Ret + 'static,
Ret: 'static,
A0: Debug + Send + Sync + 'static,
A1: Debug + Send + Sync + 'static,
A2: Debug + Send + Sync + 'static,
A3: Debug + Send + Sync + 'static,
A4: Debug + Send + Sync + 'static,
A5: Debug + Send + Sync + 'static,
impl<Fun, Ret, A0, A1, A2, A3, A4, A5> FnRes for FnResource<Fun, Ret, (&mut A0, &A1, &A2, &mut A3, &mut A4, &A5)> where
Fun: Fn(&mut A0, &A1, &A2, &mut A3, &mut A4, &A5) -> Ret + 'static,
Ret: 'static,
A0: Debug + Send + Sync + 'static,
A1: Debug + Send + Sync + 'static,
A2: Debug + Send + Sync + 'static,
A3: Debug + Send + Sync + 'static,
A4: Debug + Send + Sync + 'static,
A5: Debug + Send + Sync + 'static,
impl<Fun, Ret, A0, A1, A2, A3, A4, A5> FnRes for FnResource<Fun, Ret, (&mut A0, &A1, &A2, &mut A3, &mut A4, &mut A5)> where
Fun: Fn(&mut A0, &A1, &A2, &mut A3, &mut A4, &mut A5) -> Ret + 'static,
Ret: 'static,
A0: Debug + Send + Sync + 'static,
A1: Debug + Send + Sync + 'static,
A2: Debug + Send + Sync + 'static,
A3: Debug + Send + Sync + 'static,
A4: Debug + Send + Sync + 'static,
A5: Debug + Send + Sync + 'static,
impl<Fun, Ret, A0, A1, A2, A3, A4, A5> FnRes for FnResource<Fun, Ret, (&mut A0, &A1, &mut A2, &A3, &A4, &A5)> where
Fun: Fn(&mut A0, &A1, &mut A2, &A3, &A4, &A5) -> Ret + 'static,
Ret: 'static,
A0: Debug + Send + Sync + 'static,
A1: Debug + Send + Sync + 'static,
A2: Debug + Send + Sync + 'static,
A3: Debug + Send + Sync + 'static,
A4: Debug + Send + Sync + 'static,
A5: Debug + Send + Sync + 'static,
impl<Fun, Ret, A0, A1, A2, A3, A4, A5> FnRes for FnResource<Fun, Ret, (&mut A0, &A1, &mut A2, &A3, &A4, &mut A5)> where
Fun: Fn(&mut A0, &A1, &mut A2, &A3, &A4, &mut A5) -> Ret + 'static,
Ret: 'static,
A0: Debug + Send + Sync + 'static,
A1: Debug + Send + Sync + 'static,
A2: Debug + Send + Sync + 'static,
A3: Debug + Send + Sync + 'static,
A4: Debug + Send + Sync + 'static,
A5: Debug + Send + Sync + 'static,
impl<Fun, Ret, A0, A1, A2, A3, A4, A5> FnRes for FnResource<Fun, Ret, (&mut A0, &A1, &mut A2, &A3, &mut A4, &A5)> where
Fun: Fn(&mut A0, &A1, &mut A2, &A3, &mut A4, &A5) -> Ret + 'static,
Ret: 'static,
A0: Debug + Send + Sync + 'static,
A1: Debug + Send + Sync + 'static,
A2: Debug + Send + Sync + 'static,
A3: Debug + Send + Sync + 'static,
A4: Debug + Send + Sync + 'static,
A5: Debug + Send + Sync + 'static,
impl<Fun, Ret, A0, A1, A2, A3, A4, A5> FnRes for FnResource<Fun, Ret, (&mut A0, &A1, &mut A2, &A3, &mut A4, &mut A5)> where
Fun: Fn(&mut A0, &A1, &mut A2, &A3, &mut A4, &mut A5) -> Ret + 'static,
Ret: 'static,
A0: Debug + Send + Sync + 'static,
A1: Debug + Send + Sync + 'static,
A2: Debug + Send + Sync + 'static,
A3: Debug + Send + Sync + 'static,
A4: Debug + Send + Sync + 'static,
A5: Debug + Send + Sync + 'static,
impl<Fun, Ret, A0, A1, A2, A3, A4, A5> FnRes for FnResource<Fun, Ret, (&mut A0, &A1, &mut A2, &mut A3, &A4, &A5)> where
Fun: Fn(&mut A0, &A1, &mut A2, &mut A3, &A4, &A5) -> Ret + 'static,
Ret: 'static,
A0: Debug + Send + Sync + 'static,
A1: Debug + Send + Sync + 'static,
A2: Debug + Send + Sync + 'static,
A3: Debug + Send + Sync + 'static,
A4: Debug + Send + Sync + 'static,
A5: Debug + Send + Sync + 'static,
impl<Fun, Ret, A0, A1, A2, A3, A4, A5> FnRes for FnResource<Fun, Ret, (&mut A0, &A1, &mut A2, &mut A3, &A4, &mut A5)> where
Fun: Fn(&mut A0, &A1, &mut A2, &mut A3, &A4, &mut A5) -> Ret + 'static,
Ret: 'static,
A0: Debug + Send + Sync + 'static,
A1: Debug + Send + Sync + 'static,
A2: Debug + Send + Sync + 'static,
A3: Debug + Send + Sync + 'static,
A4: Debug + Send + Sync + 'static,
A5: Debug + Send + Sync + 'static,
impl<Fun, Ret, A0, A1, A2, A3, A4, A5> FnRes for FnResource<Fun, Ret, (&mut A0, &A1, &mut A2, &mut A3, &mut A4, &A5)> where
Fun: Fn(&mut A0, &A1, &mut A2, &mut A3, &mut A4, &A5) -> Ret + 'static,
Ret: 'static,
A0: Debug + Send + Sync + 'static,
A1: Debug + Send + Sync + 'static,
A2: Debug + Send + Sync + 'static,
A3: Debug + Send + Sync + 'static,
A4: Debug + Send + Sync + 'static,
A5: Debug + Send + Sync + 'static,
impl<Fun, Ret, A0, A1, A2, A3, A4, A5> FnRes for FnResource<Fun, Ret, (&mut A0, &A1, &mut A2, &mut A3, &mut A4, &mut A5)> where
Fun: Fn(&mut A0, &A1, &mut A2, &mut A3, &mut A4, &mut A5) -> Ret + 'static,
Ret: 'static,
A0: Debug + Send + Sync + 'static,
A1: Debug + Send + Sync + 'static,
A2: Debug + Send + Sync + 'static,
A3: Debug + Send + Sync + 'static,
A4: Debug + Send + Sync + 'static,
A5: Debug + Send + Sync + 'static,
impl<Fun, Ret, A0, A1, A2, A3, A4, A5> FnRes for FnResource<Fun, Ret, (&mut A0, &mut A1, &A2, &A3, &A4, &A5)> where
Fun: Fn(&mut A0, &mut A1, &A2, &A3, &A4, &A5) -> Ret + 'static,
Ret: 'static,
A0: Debug + Send + Sync + 'static,
A1: Debug + Send + Sync + 'static,
A2: Debug + Send + Sync + 'static,
A3: Debug + Send + Sync + 'static,
A4: Debug + Send + Sync + 'static,
A5: Debug + Send + Sync + 'static,
impl<Fun, Ret, A0, A1, A2, A3, A4, A5> FnRes for FnResource<Fun, Ret, (&mut A0, &mut A1, &A2, &A3, &A4, &mut A5)> where
Fun: Fn(&mut A0, &mut A1, &A2, &A3, &A4, &mut A5) -> Ret + 'static,
Ret: 'static,
A0: Debug + Send + Sync + 'static,
A1: Debug + Send + Sync + 'static,
A2: Debug + Send + Sync + 'static,
A3: Debug + Send + Sync + 'static,
A4: Debug + Send + Sync + 'static,
A5: Debug + Send + Sync + 'static,
impl<Fun, Ret, A0, A1, A2, A3, A4, A5> FnRes for FnResource<Fun, Ret, (&mut A0, &mut A1, &A2, &A3, &mut A4, &A5)> where
Fun: Fn(&mut A0, &mut A1, &A2, &A3, &mut A4, &A5) -> Ret + 'static,
Ret: 'static,
A0: Debug + Send + Sync + 'static,
A1: Debug + Send + Sync + 'static,
A2: Debug + Send + Sync + 'static,
A3: Debug + Send + Sync + 'static,
A4: Debug + Send + Sync + 'static,
A5: Debug + Send + Sync + 'static,
impl<Fun, Ret, A0, A1, A2, A3, A4, A5> FnRes for FnResource<Fun, Ret, (&mut A0, &mut A1, &A2, &A3, &mut A4, &mut A5)> where
Fun: Fn(&mut A0, &mut A1, &A2, &A3, &mut A4, &mut A5) -> Ret + 'static,
Ret: 'static,
A0: Debug + Send + Sync + 'static,
A1: Debug + Send + Sync + 'static,
A2: Debug + Send + Sync + 'static,
A3: Debug + Send + Sync + 'static,
A4: Debug + Send + Sync + 'static,
A5: Debug + Send + Sync + 'static,
impl<Fun, Ret, A0, A1, A2, A3, A4, A5> FnRes for FnResource<Fun, Ret, (&mut A0, &mut A1, &A2, &mut A3, &A4, &A5)> where
Fun: Fn(&mut A0, &mut A1, &A2, &mut A3, &A4, &A5) -> Ret + 'static,
Ret: 'static,
A0: Debug + Send + Sync + 'static,
A1: Debug + Send + Sync + 'static,
A2: Debug + Send + Sync + 'static,
A3: Debug + Send + Sync + 'static,
A4: Debug + Send + Sync + 'static,
A5: Debug + Send + Sync + 'static,
impl<Fun, Ret, A0, A1, A2, A3, A4, A5> FnRes for FnResource<Fun, Ret, (&mut A0, &mut A1, &A2, &mut A3, &A4, &mut A5)> where
Fun: Fn(&mut A0, &mut A1, &A2, &mut A3, &A4, &mut A5) -> Ret + 'static,
Ret: 'static,
A0: Debug + Send + Sync + 'static,
A1: Debug + Send + Sync + 'static,
A2: Debug + Send + Sync + 'static,
A3: Debug + Send + Sync + 'static,
A4: Debug + Send + Sync + 'static,
A5: Debug + Send + Sync + 'static,
impl<Fun, Ret, A0, A1, A2, A3, A4, A5> FnRes for FnResource<Fun, Ret, (&mut A0, &mut A1, &A2, &mut A3, &mut A4, &A5)> where
Fun: Fn(&mut A0, &mut A1, &A2, &mut A3, &mut A4, &A5) -> Ret + 'static,
Ret: 'static,
A0: Debug + Send + Sync + 'static,
A1: Debug + Send + Sync + 'static,
A2: Debug + Send + Sync + 'static,
A3: Debug + Send + Sync + 'static,
A4: Debug + Send + Sync + 'static,
A5: Debug + Send + Sync + 'static,
impl<Fun, Ret, A0, A1, A2, A3, A4, A5> FnRes for FnResource<Fun, Ret, (&mut A0, &mut A1, &A2, &mut A3, &mut A4, &mut A5)> where
Fun: Fn(&mut A0, &mut A1, &A2, &mut A3, &mut A4, &mut A5) -> Ret + 'static,
Ret: 'static,
A0: Debug + Send + Sync + 'static,
A1: Debug + Send + Sync + 'static,
A2: Debug + Send + Sync + 'static,
A3: Debug + Send + Sync + 'static,
A4: Debug + Send + Sync + 'static,
A5: Debug + Send + Sync + 'static,
impl<Fun, Ret, A0, A1, A2, A3, A4, A5> FnRes for FnResource<Fun, Ret, (&mut A0, &mut A1, &mut A2, &A3, &A4, &A5)> where
Fun: Fn(&mut A0, &mut A1, &mut A2, &A3, &A4, &A5) -> Ret + 'static,
Ret: 'static,
A0: Debug + Send + Sync + 'static,
A1: Debug + Send + Sync + 'static,
A2: Debug + Send + Sync + 'static,
A3: Debug + Send + Sync + 'static,
A4: Debug + Send + Sync + 'static,
A5: Debug + Send + Sync + 'static,
impl<Fun, Ret, A0, A1, A2, A3, A4, A5> FnRes for FnResource<Fun, Ret, (&mut A0, &mut A1, &mut A2, &A3, &A4, &mut A5)> where
Fun: Fn(&mut A0, &mut A1, &mut A2, &A3, &A4, &mut A5) -> Ret + 'static,
Ret: 'static,
A0: Debug + Send + Sync + 'static,
A1: Debug + Send + Sync + 'static,
A2: Debug + Send + Sync + 'static,
A3: Debug + Send + Sync + 'static,
A4: Debug + Send + Sync + 'static,
A5: Debug + Send + Sync + 'static,
impl<Fun, Ret, A0, A1, A2, A3, A4, A5> FnRes for FnResource<Fun, Ret, (&mut A0, &mut A1, &mut A2, &A3, &mut A4, &A5)> where
Fun: Fn(&mut A0, &mut A1, &mut A2, &A3, &mut A4, &A5) -> Ret + 'static,
Ret: 'static,
A0: Debug + Send + Sync + 'static,
A1: Debug + Send + Sync + 'static,
A2: Debug + Send + Sync + 'static,
A3: Debug + Send + Sync + 'static,
A4: Debug + Send + Sync + 'static,
A5: Debug + Send + Sync + 'static,
impl<Fun, Ret, A0, A1, A2, A3, A4, A5> FnRes for FnResource<Fun, Ret, (&mut A0, &mut A1, &mut A2, &A3, &mut A4, &mut A5)> where
Fun: Fn(&mut A0, &mut A1, &mut A2, &A3, &mut A4, &mut A5) -> Ret + 'static,
Ret: 'static,
A0: Debug + Send + Sync + 'static,
A1: Debug + Send + Sync + 'static,
A2: Debug + Send + Sync + 'static,
A3: Debug + Send + Sync + 'static,
A4: Debug + Send + Sync + 'static,
A5: Debug + Send + Sync + 'static,
impl<Fun, Ret, A0, A1, A2, A3, A4, A5> FnRes for FnResource<Fun, Ret, (&mut A0, &mut A1, &mut A2, &mut A3, &A4, &A5)> where
Fun: Fn(&mut A0, &mut A1, &mut A2, &mut A3, &A4, &A5) -> Ret + 'static,
Ret: 'static,
A0: Debug + Send + Sync + 'static,
A1: Debug + Send + Sync + 'static,
A2: Debug + Send + Sync + 'static,
A3: Debug + Send + Sync + 'static,
A4: Debug + Send + Sync + 'static,
A5: Debug + Send + Sync + 'static,
impl<Fun, Ret, A0, A1, A2, A3, A4, A5> FnRes for FnResource<Fun, Ret, (&mut A0, &mut A1, &mut A2, &mut A3, &A4, &mut A5)> where
Fun: Fn(&mut A0, &mut A1, &mut A2, &mut A3, &A4, &mut A5) -> Ret + 'static,
Ret: 'static,
A0: Debug + Send + Sync + 'static,
A1: Debug + Send + Sync + 'static,
A2: Debug + Send + Sync + 'static,
A3: Debug + Send + Sync + 'static,
A4: Debug + Send + Sync + 'static,
A5: Debug + Send + Sync + 'static,
impl<Fun, Ret, A0, A1, A2, A3, A4, A5> FnRes for FnResource<Fun, Ret, (&mut A0, &mut A1, &mut A2, &mut A3, &mut A4, &A5)> where
Fun: Fn(&mut A0, &mut A1, &mut A2, &mut A3, &mut A4, &A5) -> Ret + 'static,
Ret: 'static,
A0: Debug + Send + Sync + 'static,
A1: Debug + Send + Sync + 'static,
A2: Debug + Send + Sync + 'static,
A3: Debug + Send + Sync + 'static,
A4: Debug + Send + Sync + 'static,
A5: Debug + Send + Sync + 'static,