Struct basic_dsp_vector::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§
source§impl Clone for RealOrComplex
impl Clone for RealOrComplex
source§fn clone(&self) -> RealOrComplex
fn clone(&self) -> RealOrComplex
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for RealOrComplex
impl Debug for RealOrComplex
source§impl NumberSpace for RealOrComplex
impl NumberSpace for RealOrComplex
fn is_complex(&self) -> bool
source§fn 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.
source§impl PartialEq for RealOrComplex
impl PartialEq for RealOrComplex
source§fn eq(&self, other: &RealOrComplex) -> bool
fn eq(&self, other: &RealOrComplex) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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 Freeze for RealOrComplex
impl RefUnwindSafe for RealOrComplex
impl Send for RealOrComplex
impl Sync for RealOrComplex
impl Unpin for RealOrComplex
impl UnwindSafe for RealOrComplex
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more