From 37e6d9c37b2d8e49103ef61f0127bc8b15a51530 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Fri, 25 Oct 2019 07:56:20 -0400 Subject: add some derivations --- src/parser.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/parser.rs') diff --git a/src/parser.rs b/src/parser.rs index 89c88ab..2118095 100644 --- a/src/parser.rs +++ b/src/parser.rs @@ -1,4 +1,5 @@ #[repr(packed)] +#[derive(Debug, Clone, Copy)] struct Header { secs: u32, micros: u32, @@ -17,6 +18,7 @@ impl Header { } } +#[derive(Debug, Clone)] pub struct Parser { reading: std::collections::VecDeque, read_state: Option
, -- cgit v1.2.3-54-g00ecf