Struct basic_dsp::meta::RealOrComplex
source · [−]pub struct RealOrComplex {
pub is_complex_current: bool,
}
Expand description
Marker for types containing real or complex data.
Fields
is_complex_current: bool
Trait Implementations
sourceimpl Clone for RealOrComplex
impl Clone for RealOrComplex
sourcefn clone(&self) -> RealOrComplex
fn clone(&self) -> RealOrComplex
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for RealOrComplex
impl Debug for RealOrComplex
sourceimpl NumberSpace for RealOrComplex
impl NumberSpace for RealOrComplex
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. Read more
sourceimpl PartialEq<RealOrComplex> for RealOrComplex
impl PartialEq<RealOrComplex> for RealOrComplex
sourcefn eq(&self, other: &RealOrComplex) -> bool
fn eq(&self, other: &RealOrComplex) -> bool
impl ComplexNumberSpace for RealOrComplex
impl PosEq<Complex> for RealOrComplex
impl PosEq<Real> for RealOrComplex
impl PosEq<RealOrComplex> for Complex
impl PosEq<RealOrComplex> for Real
impl PosEq<RealOrComplex> for RealOrComplex
impl RealNumberSpace for RealOrComplex
impl StructuralPartialEq for RealOrComplex
Auto Trait Implementations
impl RefUnwindSafe for RealOrComplex
impl Send for RealOrComplex
impl Sync for RealOrComplex
impl Unpin for RealOrComplex
impl UnwindSafe for RealOrComplex
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more