blit

Function blit 

Source
pub fn blit<T: Clone>(
    dest: impl SurfaceMut<T>,
    src: impl Surface<T>,
    transforms: &[Transform],
)
Expand description

Blit part of one surface to another, cloning the values.

You can use sub_surface or offset_surface functions to limit the copied area. The transforms are done in order.