pub struct EncoderState {
pub num_state_bits: u32,
pub low: u64,
pub high: u64,
pub num_underflow: u64,
}Expand description
Exact serializable state of an ArithmeticEncoder.
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.
num_underflow: u64Number of pending underflow bits.
Trait Implementations§
Source§impl Clone for EncoderState
impl Clone for EncoderState
impl Copy for EncoderState
Source§impl Debug for EncoderState
impl Debug for EncoderState
Source§impl<'de> Deserialize<'de> for EncoderState
impl<'de> Deserialize<'de> for EncoderState
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 EncoderState
Source§impl PartialEq for EncoderState
impl PartialEq for EncoderState
Source§impl Serialize for EncoderState
impl Serialize for EncoderState
impl StructuralPartialEq for EncoderState
Auto Trait Implementations§
impl Freeze for EncoderState
impl RefUnwindSafe for EncoderState
impl Send for EncoderState
impl Sync for EncoderState
impl Unpin for EncoderState
impl UnsafeUnpin for EncoderState
impl UnwindSafe for EncoderState
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