pub enum Scheme {
Bpsk,
Qpsk,
}Expand description
Modulation scheme selector.
Variants§
Implementations§
Source§impl Scheme
impl Scheme
Sourcepub const fn bits_per_symbol(self) -> usize
pub const fn bits_per_symbol(self) -> usize
Bits carried per symbol.
Sourcepub const fn symbols_for(self, n_bits: usize) -> usize
pub const fn symbols_for(self, n_bits: usize) -> usize
Number of symbols needed for n_bits bits.
Trait Implementations§
impl Copy for Scheme
impl Eq for Scheme
impl StructuralPartialEq for Scheme
Auto Trait Implementations§
impl Freeze for Scheme
impl RefUnwindSafe for Scheme
impl Send for Scheme
impl Sync for Scheme
impl Unpin for Scheme
impl UnsafeUnpin for Scheme
impl UnwindSafe for Scheme
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