Trait basic_dsp_vector::NumberSpace

source ·
pub trait NumberSpace: Debug + PartialEq + Clone {
    // Required methods
    fn is_complex(&self) -> bool;
    fn to_complex(&mut self);
    fn to_real(&mut self);
}
Expand description

Number space (real or complex) information.

Required Methods§

source

fn is_complex(&self) -> bool

source

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.

source

fn to_real(&mut self)

See to_complex for more details.

Object Safety§

This trait is not object safe.

Implementors§