Function sample_nearest
fn sample_nearest<P: Pixel, impl GenericImageView<Pixel = P>: GenericImageView<Pixel = P>>(img: &impl GenericImageView<Pixel = P>, u: f32, v: f32) -> Option<P>
Sample from an image using coordinates in [0, 1], taking the nearest coordinate.