render: require more rendering primitives to have Sync and/or Send

This commit is contained in:
2024-12-01 21:24:59 +01:00
parent 15308ecd76
commit 06a527a552
2 changed files with 6 additions and 7 deletions

View File

@ -73,7 +73,7 @@ impl<P: Pixbuf<Pixel=T::Color>, T: FastWrite> Output for StrideOutput<P, T> {
}
}
pub trait FastWrite {
pub trait FastWrite: Send {
type Target: SmartLedsWrite;
type Color: HardwarePixel;
type Error;