Skip to main content

FieldScalar

Trait FieldScalar 

Source
pub trait FieldScalar:
    Copy
    + Zero
    + Add<Output = Self>
    + Sub<Output = Self>
    + Mul<f64, Output = Self> {
    // Required method
    fn nan() -> Self;
}
Expand description

Values the operators work on: real (time domain) or complex (harmonic).

Required Methods§

Source

fn nan() -> Self

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl FieldScalar for f64

Source§

fn nan() -> Self

Implementors§