pub struct Coding {
pub payload: Vec<u8>,
pub n_blocks: usize,
pub code_rate: Option<f64>,
pub llr: Vec<f64>,
pub decoded: Vec<u8>,
}Expand description
The coded blocks of a trial.
Fields§
§payload: Vec<u8>Information bits of the coded blocks, block after block.
n_blocks: usizeCoded blocks per trial.
code_rate: Option<f64>Code rate (information bits per coded bit); None for an uncoded link.
llr: Vec<f64>Bit LLRs of the demapper or the detector (positive: bit 0 more likely).
decoded: Vec<u8>Information bits decided by the decoder.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Coding
impl RefUnwindSafe for Coding
impl Send for Coding
impl Sync for Coding
impl Unpin for Coding
impl UnsafeUnpin for Coding
impl UnwindSafe for Coding
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