Add a sanity check to PixelRectangle

3 jobs for fix-crashes in 7 minutes and 38 seconds (queued for 1 minute and 33 seconds)
latest
Status Job ID Name Coverage
  Test
passed #104540
fedora test

00:07:19

 
  Lint
manual #104542
allowed to fail manual
clippy
failed #104541
rustfmt

00:00:18

 
Name Stage Failure
failed
rustfmt Lint
-    NotAlphaOnly,
- SharedImageSurface,
- SurfaceType,
- Vertical,
+ AlphaOnly, Horizontal, NotAlphaOnly, SharedImageSurface, SurfaceType, Vertical,
};

const SURFACE_SIDE: i32 = 512;
ERROR: Job failed: exit code 1