From d6ad2866b8da63812b6045dca7ea8c786cdd7bcb Mon Sep 17 00:00:00 2001 From: Anders Evensen <31867211+Anders429@users.noreply.github.com> Date: Sat, 6 Jan 2024 09:16:00 -0700 Subject: [PATCH] Implement Debug for Align4. (#190) --- 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);