We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Float
'static
Send
Sync
1 parent fcd0b47 commit 72a975dCopy full SHA for 72a975d
src/lib.rs
@@ -5,7 +5,8 @@ use std::ops::*;
5
6
/// Convenience trait for floats.
7
pub trait Float:
8
- Copy + Radians + One + Zero + Sqrt
+ 'static + Send + Sync
9
+ + Copy + Radians + One + Zero + Sqrt
10
+ FromPrimitive
11
+ Min + Max + Signum + Powf
12
+ Trig
@@ -20,7 +21,8 @@ pub trait Float:
20
21
+ Trig {}
22
23
impl<T> Float for T where
- T: Copy + Radians + One + Zero + Sqrt
24
+ T: 'static + Send + Sync
25
26
27
28
0 commit comments