diff options
Diffstat (limited to 'src/demosaic/mod.rs')
-rw-r--r-- | src/demosaic/mod.rs | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/src/demosaic/mod.rs b/src/demosaic/mod.rs index 4e74f4b..e3d5209 100644 --- a/src/demosaic/mod.rs +++ b/src/demosaic/mod.rs @@ -1,6 +1,13 @@ pub trait Demosaic { - fn new(gpu: &wgpu::Device, queue: &wgpu::Queue) -> Self where Self: Sized; - fn demoasic(&self, gpu: &wgpu::Device, queue: &wgpu::Queue, image: &rawloader::RawImage) -> wgpu::Texture; + fn new(gpu: &wgpu::Device, queue: &wgpu::Queue) -> Self + where + Self: Sized; + fn demoasic( + &self, + gpu: &wgpu::Device, + queue: &wgpu::Queue, + image: &rawloader::RawImage, + ) -> wgpu::Texture; } pub mod lmmse; |