1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
use crateError;
use ;
use cmp;
use fmt;
use hash;
/// Trait implemented by floating point types which can be used in a
/// [FloatPolicy]. This is implemented by the type representing a float,
/// typically a wrapper, and defines the protocol necessary to incorporate the
/// floating point type `T` into the [Key] protocol.
///
/// [Key]: crate::Key
/// [FloatPolicy]: crate::FloatPolicy