Struct constriction::stream::queue::RangeCoderState
source · 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
This method 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> StructuralEq for RangeCoderState<Word, State>
impl<Word, State: BitArray> StructuralPartialEq for RangeCoderState<Word, State>
Auto Trait Implementations§
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