From 490e3a1a00712ec877838b74dadea113a85ac974 Mon Sep 17 00:00:00 2001 From: Anders429 Date: Sat, 6 Jan 2024 08:52:32 -0700 Subject: [PATCH] Implement Debug for Align4. --- src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib.rs b/src/lib.rs index cd0d7891..5a2c1094 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -110,6 +110,7 @@ pub mod video; /// If the size of the value held is already a multiple of 4 then this will be /// the same size as the wrapped value. Otherwise the compiler will add /// sufficient padding bytes on the end to make the size a multiple of 4. +#[derive(Debug)] #[repr(C, align(4))] pub struct Align4(pub T);