Trait basic_dsp::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§
fn is_complex(&self) -> bool
sourcefn to_complex(&mut self)
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.
Object Safety§
This trait is not object safe.