From 15308ecd761dcef46d0a742192a48b36c1d8741c Mon Sep 17 00:00:00 2001 From: Victoria Fischer Date: Sun, 1 Dec 2024 21:23:07 +0100 Subject: [PATCH] buffers: require Send for Pixmaps --- src/buffers.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/buffers.rs b/src/buffers.rs index 807f4bf..cab4f9a 100644 --- a/src/buffers.rs +++ b/src/buffers.rs @@ -186,7 +186,7 @@ impl Surfaces for SurfacePool { } } -pub trait Pixbuf: AsMilliwatts + IndexMut { +pub trait Pixbuf: AsMilliwatts + IndexMut + Send { type Pixel: HardwarePixel; fn new() -> Self; fn blank(&mut self);