pub struct McsTable { /* private fields */ }Expand description
Maps an 8-bit mcs_index to an Mcs. The sender and receiver must share
the same table.
Implementations§
Source§impl McsTable
impl McsTable
pub fn new(entries: Vec<Mcs>) -> Self
Sourcepub fn default_ladder() -> Self
pub fn default_ladder() -> Self
A small default ladder: increasing constellation order, all with a rate-1/2 LDPC inner code and a BCH(t=8) outer code — the concatenated COFDM baseline.
pub fn get(&self, mcs_index: u8) -> Option<Mcs>
pub fn len(&self) -> usize
pub fn is_empty(&self) -> bool
Trait Implementations§
Auto Trait Implementations§
impl Freeze for McsTable
impl RefUnwindSafe for McsTable
impl Send for McsTable
impl Sync for McsTable
impl Unpin for McsTable
impl UnsafeUnpin for McsTable
impl UnwindSafe for McsTable
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