diff --git a/src/buffers.rs b/src/buffers.rs index b49db4f..f1a315d 100644 --- a/src/buffers.rs +++ b/src/buffers.rs @@ -12,14 +12,12 @@ use std::sync::atomic::AtomicBool; use std::sync::RwLock; use std::sync::{Arc, Mutex}; -#[derive(Debug)] struct ShaderBinding { shader: Option>, rect: Rectangle, opacity: u8 } -#[derive(Debug)] struct SurfaceUpdate { shader: Option>>, rect: Option>, @@ -41,12 +39,6 @@ impl SurfaceUpdate { } } -impl Debug for Box { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { - f.debug_struct("Shader").finish() - } -} - impl Default for SurfaceUpdate { fn default() -> Self { SurfaceUpdate { @@ -58,7 +50,6 @@ impl Default for SurfaceUpdate { } } -#[derive(Debug)] pub struct BufferedSurface { updater: Arc, slot: usize @@ -98,7 +89,6 @@ impl Surface for BufferedSurface { } } -#[derive(Debug)] struct UpdateQueue { pending: Mutex>, damaged: AtomicBool @@ -135,7 +125,6 @@ impl UpdateQueue { } } -#[derive(Debug)] pub struct ShaderChain { bindings: Vec, updates: Arc