pub trait Float:
'static
+ Send
+ Sync
+ Copy
+ Radians
+ One
+ Zero
+ Sqrt
+ FromPrimitive
+ Min
+ Max
+ Signum
+ Powf
+ Trig
+ PartialEq
+ PartialOrd
+ Add<Self, Output = Self>
+ AddAssign<Self>
+ Mul<Self, Output = Self>
+ MulAssign<Self>
+ Sub<Self, Output = Self>
+ SubAssign<Self>
+ Div<Self, Output = Self>
+ DivAssign<Self>
+ Rem<Self, Output = Self>
+ RemAssign<Self>
+ Neg<Output = Self>
+ Trig { }Expand description
Convenience trait for floats.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".