Skip to main content

Modulator

Trait Modulator 

Source
pub trait Modulator:
    Default
    + Clone
    + Send {
    type T;

    // Required method
    fn modulate<S>(&self, codeword: &ArrayBase<S, Ix1>) -> Vec<Self::T>
       where S: Data<Elem = GF2>;
}
Expand description

Modulator.

This trait defines modulators, which can convert a sequence of bits into symbols.

Required Associated Types§

Source

type T

Scalar type for the symbols.

Required Methods§

Source

fn modulate<S>(&self, codeword: &ArrayBase<S, Ix1>) -> Vec<Self::T>
where S: Data<Elem = GF2>,

Modulates a sequence of bits into symbols.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§