From 00f4bab2f1a1dcec9d2bf683b574dc0b9c599bcb Mon Sep 17 00:00:00 2001 From: metamuffin Date: Tue, 7 Mar 2023 17:56:50 +0100 Subject: works well --- lvc/src/lib.rs | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'lvc/src/lib.rs') diff --git a/lvc/src/lib.rs b/lvc/src/lib.rs index 4a88b93..d9fdfa3 100644 --- a/lvc/src/lib.rs +++ b/lvc/src/lib.rs @@ -2,18 +2,17 @@ use bincode::{Decode, Encode}; +#[cfg(test)] +pub mod bench; +pub mod debug; +pub mod decode; pub mod diff; pub mod encode; pub mod impls; -pub mod decode; pub mod split; -pub mod debug; -#[cfg(test)] -pub mod bench; -pub type PixelValue = u8; +pub type PixelValue = i16; -#[repr(C, align(1))] #[derive(Debug, Clone, Copy, Default, Encode, Decode)] pub struct Pixel { pub r: PixelValue, -- cgit v1.2.3-70-g09d2