pub trait RealByValue<Rhs = Self, Output = Self>:
Sqrt<Output = Output>
+ Exp<Output = Output>
+ Pow<Rhs, Output = Output>
+ Ln<Output = Output>
+ Sin<Output = Output>
+ Cos<Output = Output>
+ Sized
+ NumericByValue<Rhs, Output> { }
Expand description
A trait defining what a real number type is in terms of by value numerical operations needed on top of operations defined by Numeric for some functions.
The requirements on top of Numeric are Sqrt, Exp, Pow, Ln, Sin, Cos and Sized.
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.