pub trait ZipVoltage: Copy {
// Required methods
fn scale(self, value: Complex64) -> Complex64;
fn magnitude_squared(self) -> f64;
}Expand description
The nominal voltage a ZIP conversion reads: a real magnitude (f64,
a zero angle reference) or a phasor (Complex64).
Required Methods§
Sourcefn magnitude_squared(self) -> f64
fn magnitude_squared(self) -> f64
|V|²: the square of a magnitude, or a phasor’s norm_sqr.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".