Type Alias Complex

Source
pub type Complex = Complex<Float>;
Expand description

Complex (I/Q) data.

Aliased Type§

#[repr(C)]
pub struct Complex { pub re: f32, pub im: f32, }

Fields§

§re: f32

Real portion of the complex number

§im: f32

Imaginary portion of the complex number

Trait Implementations§

Source§

impl Sample for Complex

Source§

type Type = Complex<f32>

The type of the sample.
Source§

fn size() -> usize

The serialized size of one sample.
Source§

fn parse(data: &[u8]) -> Result<Self::Type>

Parse one sample.
Source§

fn serialize(&self) -> Vec<u8>

Serialize one sample.
Source§

impl Type for Complex

Source§

fn type_string() -> &'static str

Return full type, or endianness prefix of the type.