buffers: require Send for Pixmaps
This commit is contained in:
parent
0884c704b0
commit
15308ecd76
@ -186,7 +186,7 @@ impl<S: Surface + Default> Surfaces for SurfacePool<S> {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
pub trait Pixbuf: AsMilliwatts + IndexMut<usize, Output=Self::Pixel> {
|
pub trait Pixbuf: AsMilliwatts + IndexMut<usize, Output=Self::Pixel> + Send {
|
||||||
type Pixel: HardwarePixel;
|
type Pixel: HardwarePixel;
|
||||||
fn new() -> Self;
|
fn new() -> Self;
|
||||||
fn blank(&mut self);
|
fn blank(&mut self);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user