pub struct BlockPlan {
pub info_bytes: usize,
pub framed_bytes: usize,
pub outer_coded_bits: usize,
pub outer_il_bits: usize,
pub inner_coded_bits: usize,
pub coded_bits: usize,
}Expand description
Deterministic size accounting for one logical block’s coding chain, so the transmitter and receiver agree on every intermediate length (needed to trim interleaver/fragmentation zero-padding on receive) and on how many OFDM symbols the coded bits occupy.
Fields§
§info_bytes: usizeRaw payload/field byte count (before CRC).
framed_bytes: usizeBytes after appending the CRC.
outer_coded_bits: usizeBits after the outer code (before outer interleave).
outer_il_bits: usizeBits after outer interleave.
inner_coded_bits: usizeBits after the inner code (before inner interleave).
coded_bits: usizeFinal coded-bit count (after inner interleave) = symbols · bits/symbol.
Trait Implementations§
impl Copy for BlockPlan
impl Eq for BlockPlan
impl StructuralPartialEq for BlockPlan
Auto Trait Implementations§
impl Freeze for BlockPlan
impl RefUnwindSafe for BlockPlan
impl Send for BlockPlan
impl Sync for BlockPlan
impl Unpin for BlockPlan
impl UnsafeUnpin for BlockPlan
impl UnwindSafe for BlockPlan
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