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