pub fn dither_float_slice_2d<Src, Dest, M: SpatialRng>(
values: &[Src],
width: usize,
method: &M,
) -> Vec<Dest>where
Src: DitherFloatConversion<Dest> + DitherFloat + CastableFrom<f64> + Copy + Send + Sync,
Dest: Send,pub fn dither_float_slice_2d<Src, Dest, M: SpatialRng>(
values: &[Src],
width: usize,
method: &M,
) -> Vec<Dest>where
Src: DitherFloatConversion<Dest> + DitherFloat + CastableFrom<f64> + Copy + Send + Sync,
Dest: Send,