pub trait NewFromPolar<T>where
Self: MixedComplex,{
// Required method
fn new_from_polar(mag: T, ang: T) -> Self;
}Required Methods§
Sourcefn new_from_polar(mag: T, ang: T) -> Self
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.