fn ref_self1<A, R>(mut f: impl FnMut(A) -> R) -> impl FnMut(&A) -> R
where
   A: Copy,
{
   move |x| f(*x)
}
/// Converts a function that takes a `self` parameter to one that takes a `&self` parameter.
Converts a function that takes a `self` parameter to one that takes a `&self` parameter.
Converts a function that takes a ` self ` parameter to one that takes a ` &self ` parameter .
fn ref_self1<A, R>(mut f: impl FnMut(A) -> R) -> impl FnMut(&A) -> R
where
   A: Copy,
{
   move |x| f(*x)
}
fn ref_self1 < A , R > ( mut f : impl FnMut ( A ) -> R ) -> impl FnMut ( & A ) -> R where A : Copy , { move | x | f ( * x ) }
Converts a function that takes a `self` parameter to one that takes a `&self` parameter.
Converts a function that takes a ` self ` parameter to one that takes a ` &self ` parameter .
f
impl FnMut(A) -> R