pub struct DecoderState {
pub num_state_bits: u32,
pub low: u64,
pub high: u64,
pub code: u64,
}Expand description
Exact serializable state of an ArithmeticDecoder.
Fields§
§num_state_bits: u32Bit width of the coder state registers.
low: u64Lower bound of the active coding interval.
high: u64Upper bound (inclusive) of the active coding interval.
code: u64Current buffered code word.
Trait Implementations§
Source§impl Clone for DecoderState
impl Clone for DecoderState
impl Copy for DecoderState
Source§impl Debug for DecoderState
impl Debug for DecoderState
Source§impl<'de> Deserialize<'de> for DecoderState
impl<'de> Deserialize<'de> for DecoderState
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for DecoderState
Source§impl PartialEq for DecoderState
impl PartialEq for DecoderState
Source§impl Serialize for DecoderState
impl Serialize for DecoderState
impl StructuralPartialEq for DecoderState
Auto Trait Implementations§
impl Freeze for DecoderState
impl RefUnwindSafe for DecoderState
impl Send for DecoderState
impl Sync for DecoderState
impl Unpin for DecoderState
impl UnsafeUnpin for DecoderState
impl UnwindSafe for DecoderState
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more