[−][src]Function image::imageops::crop
pub fn crop<I: GenericImage + 'static>(
image: &mut I,
x: u32,
y: u32,
width: u32,
height: u32
) -> SubImage<I> where
I::Pixel: 'static,
<I::Pixel as Pixel>::Subpixel: 'static,
Return a mutable view into an image