[][src]Trait basic_dsp::NumberSpace

pub trait NumberSpace: PartialEq<Self> + Clone + Debug {
    fn is_complex(&self) -> bool;
fn to_complex(&mut self);
fn to_real(&mut self); }

Number space (real or complex) information.

Required methods

fn is_complex(&self) -> bool

fn to_complex(&mut self)

For implementations which track meta data at runtime this method may be implemented to transition between different states. For all other implementations they may leave this empty.

fn to_real(&mut self)

See to_complex for more details.

Loading content...

Implementors

impl NumberSpace for Complex
[src]

impl NumberSpace for Real
[src]

impl NumberSpace for RealOrComplex
[src]

Loading content...