pub struct RangeCoderState<Word, State: BitArray> { /* private fields */ }
Expand description
Type of the internal state used by RangeEncoder<Word, State>
and
RangeDecoder<Word, State>
. Relevant for Seek
ing.
Implementations§
Source§impl<Word: BitArray, State: BitArray> RangeCoderState<Word, State>
impl<Word: BitArray, State: BitArray> RangeCoderState<Word, State>
Trait Implementations§
Source§impl<Word: Clone, State: Clone + BitArray> Clone for RangeCoderState<Word, State>
impl<Word: Clone, State: Clone + BitArray> Clone for RangeCoderState<Word, State>
Source§fn clone(&self) -> RangeCoderState<Word, State>
fn clone(&self) -> RangeCoderState<Word, State>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<Word: PartialEq, State: PartialEq + BitArray> PartialEq for RangeCoderState<Word, State>
impl<Word: PartialEq, State: PartialEq + BitArray> PartialEq for RangeCoderState<Word, State>
Source§fn eq(&self, other: &RangeCoderState<Word, State>) -> bool
fn eq(&self, other: &RangeCoderState<Word, State>) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl<Word: Copy, State: Copy + BitArray> Copy for RangeCoderState<Word, State>
impl<Word: Eq, State: Eq + BitArray> Eq for RangeCoderState<Word, State>
impl<Word, State: BitArray> StructuralPartialEq for RangeCoderState<Word, State>
Auto Trait Implementations§
impl<Word, State> Freeze for RangeCoderState<Word, State>
impl<Word, State> RefUnwindSafe for RangeCoderState<Word, State>
impl<Word, State> Send for RangeCoderState<Word, State>
impl<Word, State> Sync for RangeCoderState<Word, State>
impl<Word, State> Unpin for RangeCoderState<Word, State>
impl<Word, State> UnwindSafe for RangeCoderState<Word, State>
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