Enum tc_value::Complex[][src]

pub enum Complex {
    C32(Complex<f32>),
    C64(Complex<f64>),
}

A complex number.

Variants

C32(Complex<f32>)
C64(Complex<f64>)

Trait Implementations

impl Add<Complex> for Complex[src]

type Output = Complex

The resulting type after applying the + operator.

impl AddAssign<Complex> for Complex[src]

impl CastFrom<[f32; 2]> for Complex[src]

impl CastFrom<[f64; 2]> for Complex[src]

impl<R, I> CastFrom<(R, I)> for Complex where
    I: CastInto<f64>,
    R: CastInto<f64>, 
[src]

impl CastFrom<Complex> for UInt[src]

impl CastFrom<Complex> for Boolean[src]

impl CastFrom<Complex> for Int[src]

impl CastFrom<Complex> for Float[src]

impl CastFrom<Number> for Complex[src]

impl Clone for Complex[src]

impl Copy for Complex[src]

impl Debug for Complex[src]

impl Default for Complex[src]

impl Display for Complex[src]

impl Div<Complex> for Complex[src]

type Output = Complex

The resulting type after applying the / operator.

impl DivAssign<Complex> for Complex[src]

impl Eq for Complex[src]

impl From<Boolean> for Complex[src]

impl From<Complex<f32>> for Complex[src]

impl From<Complex<f64>> for Complex[src]

impl From<Complex> for Number[src]

impl From<Float> for Complex[src]

impl From<Int> for Complex[src]

impl From<UInt> for Complex[src]

impl<'en> IntoStream<'en> for Complex[src]

impl Mul<Complex> for Complex[src]

type Output = Complex

The resulting type after applying the * operator.

impl MulAssign<Complex> for Complex[src]

impl NumberInstance for Complex[src]

type Abs = Float

type Exp = Complex

type Class = ComplexType

impl PartialEq<Complex> for Complex[src]

impl Product<Complex> for Complex[src]

impl Serialize for Complex[src]

impl Sub<Complex> for Complex[src]

type Output = Complex

The resulting type after applying the - operator.

impl SubAssign<Complex> for Complex[src]

impl Sum<Complex> for Complex[src]

impl<'en> ToStream<'en> for Complex[src]

Auto Trait Implementations

impl RefUnwindSafe for Complex

impl Send for Complex

impl Sync for Complex

impl Unpin for Complex

impl UnwindSafe for Complex

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<F, T> CastFrom<F> for T where
    T: From<F>, 
[src]

impl<T, F> CastInto<F> for T where
    F: CastFrom<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<F> Match for F[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<F, T> TryCastFrom<F> for T where
    T: CastFrom<F>, 
[src]

impl<F, T> TryCastInto<T> for F where
    T: TryCastFrom<F>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.