pub struct Interleaver { /* private fields */ }
Expand description
Interleaver.
Implements matrix interleaving/deinterleaving of codeword bits following the DVB-S2 standard.
Implementations§
Source§impl Interleaver
impl Interleaver
Sourcepub fn new(columns: usize, read_rows_backwards: bool) -> Interleaver
pub fn new(columns: usize, read_rows_backwards: bool) -> Interleaver
Creates a new interleaver.
The columns
parameter defines the number of columns of the
interleaver.Typically this is the number of bits per symbol.
The read_rows_backwards
parameter controls whether the rows should be
read backwards. In DVB-S2 this option is only used in 8PSK rate 3/5.
Trait Implementations§
Source§impl Clone for Interleaver
impl Clone for Interleaver
Source§fn clone(&self) -> Interleaver
fn clone(&self) -> Interleaver
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for Interleaver
impl RefUnwindSafe for Interleaver
impl Send for Interleaver
impl Sync for Interleaver
impl Unpin for Interleaver
impl UnwindSafe for Interleaver
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more