cosmic::iced_renderer::graphics::image::image_rs::imageops

Function rotate90_in

source
pub fn rotate90_in<I, Container>(
    image: &I,
    destination: &mut ImageBuffer<<I as GenericImageView>::Pixel, Container>,
) -> Result<(), ImageError>
where I: GenericImageView, <I as GenericImageView>::Pixel: 'static, Container: DerefMut<Target = [<<I as GenericImageView>::Pixel as Pixel>::Subpixel]>,
Expand description

Rotate an image 90 degrees clockwise and put the result into the destination ImageBuffer.