pub trait RealFloat: Float {
type Complex: ComplexFloat + Element<Real = Self>;
}Expand description
The floats that complex numbers are made of (f32 and f64), with
their complex type (the result of rfft).
Required Associated Types§
Sourcetype Complex: ComplexFloat + Element<Real = Self>
type Complex: ComplexFloat + Element<Real = Self>
The complex type with parts of this type.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".