pub trait BLASFloat: Num + Copy {
type RealFloat: BLASFloat;
// Required methods
fn is_complex() -> bool;
fn conj(x: Self) -> Self;
fn from_real(x: Self::RealFloat) -> Self;
}
Expand description
Trait for defining real part float types
Required Associated Types§
Required Methods§
fn is_complex() -> bool
fn conj(x: Self) -> Self
fn from_real(x: Self::RealFloat) -> Self
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.