diff options
author | Maxwell Beck <max@rastertail.net> | 2025-04-08 17:32:23 -0500 |
---|---|---|
committer | Maxwell Beck <max@rastertail.net> | 2025-04-08 17:32:23 -0500 |
commit | 698d8fb1ddcf2aefd780c672b6f681ee0c5fa1f2 (patch) | |
tree | e646054f848f3c1896fbb495757e5e61f9cebbe4 /src/demosaic/mod.rs | |
parent | 1d888631c3e4c423c2b782b01ca29fc1057c51a2 (diff) |
Format and such
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; |