fn with_scratch_dyn(size: usize, f: &mut dyn FnMut(&mut [u8]))
Calls f with a zeroed block of size bytes, through a trait object so that the buckets below are compiled once rather than once per caller.
f
size