NewFromPolar

Trait NewFromPolar 

Source
pub trait NewFromPolar<T>
where Self: MixedComplex,
{ // Required method fn new_from_polar(mag: T, ang: T) -> Self; }

Required Methods§

Source

fn new_from_polar(mag: T, ang: T) -> Self

Create a complex number from polar coordinates.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§