[][src]Trait basic_dsp::NumberSpace

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

Number space (real or complex) information.

Required methods

pub fn is_complex(&self) -> bool[src]

pub fn to_complex(&mut self)[src]

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.

pub fn to_real(&mut self)[src]

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...