From: Kostya Shishkov Date: Tue, 12 Feb 2019 14:26:26 +0000 (+0100) Subject: make {Full,Short}CodebookDesc fields public X-Git-Url: https://git.nihav.org/?a=commitdiff_plain;h=9a62b981fb6eef07812c36e55e9193298d23f72b;p=nihav.git make {Full,Short}CodebookDesc fields public --- diff --git a/nihav-core/src/io/codebook.rs b/nihav-core/src/io/codebook.rs index 285bedd..b86d0c1 100644 --- a/nihav-core/src/io/codebook.rs +++ b/nihav-core/src/io/codebook.rs @@ -18,14 +18,14 @@ pub enum CodebookMode { type CodebookResult = Result; pub struct FullCodebookDesc { - code: u32, - bits: u8, - sym: S, + pub code: u32, + pub bits: u8, + pub sym: S, } pub struct ShortCodebookDesc { - code: u32, - bits: u8, + pub code: u32, + pub bits: u8, } pub trait CodebookDescReader {