Function crop

fn crop<I: GenericImageView>(image: &mut I, x: u32, y: u32, width: u32, height: u32) -> crate::image::SubImage<&mut I>

Return a mutable view into an image The coordinates set the position of the top left corner of the crop.