Struct constriction::stream::chain::ChainCoderHeads
source · pub struct ChainCoderHeads<Word: BitArray, State: BitArray, const PRECISION: usize> { /* private fields */ }
Expand description
Type of the internal state used by ChainCoder<Word, State>
. Relevant for
Seek
ing.
Implementations§
Trait Implementations§
source§impl<Word: Clone + BitArray, State: Clone + BitArray, const PRECISION: usize> Clone for ChainCoderHeads<Word, State, PRECISION>
impl<Word: Clone + BitArray, State: Clone + BitArray, const PRECISION: usize> Clone for ChainCoderHeads<Word, State, PRECISION>
source§fn clone(&self) -> ChainCoderHeads<Word, State, PRECISION>
fn clone(&self) -> ChainCoderHeads<Word, State, PRECISION>
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: Debug + BitArray, State: Debug + BitArray, const PRECISION: usize> Debug for ChainCoderHeads<Word, State, PRECISION>
impl<Word: Debug + BitArray, State: Debug + BitArray, const PRECISION: usize> Debug for ChainCoderHeads<Word, State, PRECISION>
source§impl<Word: Hash + BitArray, State: Hash + BitArray, const PRECISION: usize> Hash for ChainCoderHeads<Word, State, PRECISION>
impl<Word: Hash + BitArray, State: Hash + BitArray, const PRECISION: usize> Hash for ChainCoderHeads<Word, State, PRECISION>
source§impl<Word: PartialEq + BitArray, State: PartialEq + BitArray, const PRECISION: usize> PartialEq for ChainCoderHeads<Word, State, PRECISION>
impl<Word: PartialEq + BitArray, State: PartialEq + BitArray, const PRECISION: usize> PartialEq for ChainCoderHeads<Word, State, PRECISION>
source§fn eq(&self, other: &ChainCoderHeads<Word, State, PRECISION>) -> bool
fn eq(&self, other: &ChainCoderHeads<Word, State, PRECISION>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<Word: Copy + BitArray, State: Copy + BitArray, const PRECISION: usize> Copy for ChainCoderHeads<Word, State, PRECISION>
impl<Word: Eq + BitArray, State: Eq + BitArray, const PRECISION: usize> Eq for ChainCoderHeads<Word, State, PRECISION>
impl<Word: BitArray, State: BitArray, const PRECISION: usize> StructuralEq for ChainCoderHeads<Word, State, PRECISION>
impl<Word: BitArray, State: BitArray, const PRECISION: usize> StructuralPartialEq for ChainCoderHeads<Word, State, PRECISION>
Auto Trait Implementations§
impl<Word, State, const PRECISION: usize> RefUnwindSafe for ChainCoderHeads<Word, State, PRECISION>
impl<Word, State, const PRECISION: usize> Send for ChainCoderHeads<Word, State, PRECISION>
impl<Word, State, const PRECISION: usize> Sync for ChainCoderHeads<Word, State, PRECISION>
impl<Word, State, const PRECISION: usize> Unpin for ChainCoderHeads<Word, State, PRECISION>
impl<Word, State, const PRECISION: usize> UnwindSafe for ChainCoderHeads<Word, State, PRECISION>
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