Struct rcomplex::complex::Complex [] [src]

pub struct Complex {
    pub real: f64,
    pub img: f64,
}

Fields

Methods

impl Complex
[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

Trait Implementations

impl Copy for Complex
[src]

impl Clone for Complex
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Complex
[src]

[src]

Formats the value using the given formatter.

impl Default for Complex
[src]

[src]

Returns the "default value" for a type. Read more

impl Neg for Complex
[src]

The resulting type after applying the - operator.

[src]

Performs the unary - operation.

impl Add<Complex> for Complex
[src]

The resulting type after applying the + operator.

[src]

Performs the + operation.

impl PartialEq for Complex
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

impl Sub<Complex> for Complex
[src]

The resulting type after applying the - operator.

[src]

Performs the - operation.

impl Mul<Complex> for Complex
[src]

The resulting type after applying the * operator.

[src]

Performs the * operation.

impl Mul<f64> for Complex
[src]

The resulting type after applying the * operator.

[src]

Performs the * operation.

impl Div<f64> for Complex
[src]

The resulting type after applying the / operator.

[src]

Performs the / operation.

impl Div<Complex> for Complex
[src]

The resulting type after applying the / operator.

[src]

Performs the / operation.