pub fn apply_binary_inplace<T, F: Fn(T, T) -> T>(
src1_dst: &mut [T],
src2: &[T],
f: F,
)where
T: Copy,Expand description
Apply the closure f to each corresponding pair of elements of src1_dst
and src2 and store the result in src1_dst. Both slices must have the same
length.
ยงPanics
This method panics if the slices have different lengths.