Trait num_traits::Bounded
[−]
[src]
pub trait Bounded { fn min_value() -> Self; fn max_value() -> Self; }
Numbers which have upper and lower bounds
Required Methods
fn min_value() -> Self
returns the smallest finite number this type can represent
fn max_value() -> Self
returns the largest finite number this type can represent
Implementations on Foreign Types
impl Bounded for u32
[src]
impl<P, Q, R, S, T> Bounded for (P, Q, R, S, T) where
P: Bounded,
Q: Bounded,
R: Bounded,
S: Bounded,
T: Bounded,
[src]
P: Bounded,
Q: Bounded,
R: Bounded,
S: Bounded,
T: Bounded,
impl<R, S, T> Bounded for (R, S, T) where
R: Bounded,
S: Bounded,
T: Bounded,
[src]
R: Bounded,
S: Bounded,
T: Bounded,
impl<T> Bounded for (T,) where
T: Bounded,
[src]
T: Bounded,
impl Bounded for i8
[src]
impl<S, T> Bounded for (S, T) where
S: Bounded,
T: Bounded,
[src]
S: Bounded,
T: Bounded,
impl<I, J, K, L, M, N, O, P, Q, R, S, T> Bounded for (I, J, K, L, M, N, O, P, Q, R, S, T) where
I: Bounded,
J: Bounded,
K: Bounded,
L: Bounded,
M: Bounded,
N: Bounded,
O: Bounded,
P: Bounded,
Q: Bounded,
R: Bounded,
S: Bounded,
T: Bounded,
[src]
I: Bounded,
J: Bounded,
K: Bounded,
L: Bounded,
M: Bounded,
N: Bounded,
O: Bounded,
P: Bounded,
Q: Bounded,
R: Bounded,
S: Bounded,
T: Bounded,
impl Bounded for f64
[src]
impl Bounded for i32
[src]
impl Bounded for f32
[src]
impl Bounded for i16
[src]
impl<E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T> Bounded for (E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T) where
E: Bounded,
F: Bounded,
G: Bounded,
H: Bounded,
I: Bounded,
J: Bounded,
K: Bounded,
L: Bounded,
M: Bounded,
N: Bounded,
O: Bounded,
P: Bounded,
Q: Bounded,
R: Bounded,
S: Bounded,
T: Bounded,
[src]
E: Bounded,
F: Bounded,
G: Bounded,
H: Bounded,
I: Bounded,
J: Bounded,
K: Bounded,
L: Bounded,
M: Bounded,
N: Bounded,
O: Bounded,
P: Bounded,
Q: Bounded,
R: Bounded,
S: Bounded,
T: Bounded,
impl<H, I, J, K, L, M, N, O, P, Q, R, S, T> Bounded for (H, I, J, K, L, M, N, O, P, Q, R, S, T) where
H: Bounded,
I: Bounded,
J: Bounded,
K: Bounded,
L: Bounded,
M: Bounded,
N: Bounded,
O: Bounded,
P: Bounded,
Q: Bounded,
R: Bounded,
S: Bounded,
T: Bounded,
[src]
H: Bounded,
I: Bounded,
J: Bounded,
K: Bounded,
L: Bounded,
M: Bounded,
N: Bounded,
O: Bounded,
P: Bounded,
Q: Bounded,
R: Bounded,
S: Bounded,
T: Bounded,
impl<C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T> Bounded for (C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T) where
C: Bounded,
D: Bounded,
E: Bounded,
F: Bounded,
G: Bounded,
H: Bounded,
I: Bounded,
J: Bounded,
K: Bounded,
L: Bounded,
M: Bounded,
N: Bounded,
O: Bounded,
P: Bounded,
Q: Bounded,
R: Bounded,
S: Bounded,
T: Bounded,
[src]
C: Bounded,
D: Bounded,
E: Bounded,
F: Bounded,
G: Bounded,
H: Bounded,
I: Bounded,
J: Bounded,
K: Bounded,
L: Bounded,
M: Bounded,
N: Bounded,
O: Bounded,
P: Bounded,
Q: Bounded,
R: Bounded,
S: Bounded,
T: Bounded,
impl<Q, R, S, T> Bounded for (Q, R, S, T) where
Q: Bounded,
R: Bounded,
S: Bounded,
T: Bounded,
[src]
Q: Bounded,
R: Bounded,
S: Bounded,
T: Bounded,
impl<M, N, O, P, Q, R, S, T> Bounded for (M, N, O, P, Q, R, S, T) where
M: Bounded,
N: Bounded,
O: Bounded,
P: Bounded,
Q: Bounded,
R: Bounded,
S: Bounded,
T: Bounded,
[src]
M: Bounded,
N: Bounded,
O: Bounded,
P: Bounded,
Q: Bounded,
R: Bounded,
S: Bounded,
T: Bounded,
impl Bounded for ()
[src]
impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T> Bounded for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T) where
A: Bounded,
B: Bounded,
C: Bounded,
D: Bounded,
E: Bounded,
F: Bounded,
G: Bounded,
H: Bounded,
I: Bounded,
J: Bounded,
K: Bounded,
L: Bounded,
M: Bounded,
N: Bounded,
O: Bounded,
P: Bounded,
Q: Bounded,
R: Bounded,
S: Bounded,
T: Bounded,
[src]
A: Bounded,
B: Bounded,
C: Bounded,
D: Bounded,
E: Bounded,
F: Bounded,
G: Bounded,
H: Bounded,
I: Bounded,
J: Bounded,
K: Bounded,
L: Bounded,
M: Bounded,
N: Bounded,
O: Bounded,
P: Bounded,
Q: Bounded,
R: Bounded,
S: Bounded,
T: Bounded,
impl<T> Bounded for Wrapping<T> where
T: Bounded,
[src]
T: Bounded,
impl<G, H, I, J, K, L, M, N, O, P, Q, R, S, T> Bounded for (G, H, I, J, K, L, M, N, O, P, Q, R, S, T) where
G: Bounded,
H: Bounded,
I: Bounded,
J: Bounded,
K: Bounded,
L: Bounded,
M: Bounded,
N: Bounded,
O: Bounded,
P: Bounded,
Q: Bounded,
R: Bounded,
S: Bounded,
T: Bounded,
[src]
G: Bounded,
H: Bounded,
I: Bounded,
J: Bounded,
K: Bounded,
L: Bounded,
M: Bounded,
N: Bounded,
O: Bounded,
P: Bounded,
Q: Bounded,
R: Bounded,
S: Bounded,
T: Bounded,
impl Bounded for usize
[src]
impl<K, L, M, N, O, P, Q, R, S, T> Bounded for (K, L, M, N, O, P, Q, R, S, T) where
K: Bounded,
L: Bounded,
M: Bounded,
N: Bounded,
O: Bounded,
P: Bounded,
Q: Bounded,
R: Bounded,
S: Bounded,
T: Bounded,
[src]
K: Bounded,
L: Bounded,
M: Bounded,
N: Bounded,
O: Bounded,
P: Bounded,
Q: Bounded,
R: Bounded,
S: Bounded,
T: Bounded,
impl Bounded for isize
[src]
impl<L, M, N, O, P, Q, R, S, T> Bounded for (L, M, N, O, P, Q, R, S, T) where
L: Bounded,
M: Bounded,
N: Bounded,
O: Bounded,
P: Bounded,
Q: Bounded,
R: Bounded,
S: Bounded,
T: Bounded,
[src]
L: Bounded,
M: Bounded,
N: Bounded,
O: Bounded,
P: Bounded,
Q: Bounded,
R: Bounded,
S: Bounded,
T: Bounded,
impl<D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T> Bounded for (D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T) where
D: Bounded,
E: Bounded,
F: Bounded,
G: Bounded,
H: Bounded,
I: Bounded,
J: Bounded,
K: Bounded,
L: Bounded,
M: Bounded,
N: Bounded,
O: Bounded,
P: Bounded,
Q: Bounded,
R: Bounded,
S: Bounded,
T: Bounded,
[src]
D: Bounded,
E: Bounded,
F: Bounded,
G: Bounded,
H: Bounded,
I: Bounded,
J: Bounded,
K: Bounded,
L: Bounded,
M: Bounded,
N: Bounded,
O: Bounded,
P: Bounded,
Q: Bounded,
R: Bounded,
S: Bounded,
T: Bounded,
impl<O, P, Q, R, S, T> Bounded for (O, P, Q, R, S, T) where
O: Bounded,
P: Bounded,
Q: Bounded,
R: Bounded,
S: Bounded,
T: Bounded,
[src]
O: Bounded,
P: Bounded,
Q: Bounded,
R: Bounded,
S: Bounded,
T: Bounded,
impl<J, K, L, M, N, O, P, Q, R, S, T> Bounded for (J, K, L, M, N, O, P, Q, R, S, T) where
J: Bounded,
K: Bounded,
L: Bounded,
M: Bounded,
N: Bounded,
O: Bounded,
P: Bounded,
Q: Bounded,
R: Bounded,
S: Bounded,
T: Bounded,
[src]
J: Bounded,
K: Bounded,
L: Bounded,
M: Bounded,
N: Bounded,
O: Bounded,
P: Bounded,
Q: Bounded,
R: Bounded,
S: Bounded,
T: Bounded,
impl Bounded for u16
[src]
impl Bounded for u8
[src]
impl<F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T> Bounded for (F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T) where
F: Bounded,
G: Bounded,
H: Bounded,
I: Bounded,
J: Bounded,
K: Bounded,
L: Bounded,
M: Bounded,
N: Bounded,
O: Bounded,
P: Bounded,
Q: Bounded,
R: Bounded,
S: Bounded,
T: Bounded,
[src]
F: Bounded,
G: Bounded,
H: Bounded,
I: Bounded,
J: Bounded,
K: Bounded,
L: Bounded,
M: Bounded,
N: Bounded,
O: Bounded,
P: Bounded,
Q: Bounded,
R: Bounded,
S: Bounded,
T: Bounded,
impl<N, O, P, Q, R, S, T> Bounded for (N, O, P, Q, R, S, T) where
N: Bounded,
O: Bounded,
P: Bounded,
Q: Bounded,
R: Bounded,
S: Bounded,
T: Bounded,
[src]
N: Bounded,
O: Bounded,
P: Bounded,
Q: Bounded,
R: Bounded,
S: Bounded,
T: Bounded,
impl Bounded for i64
[src]
impl<B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T> Bounded for (B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T) where
B: Bounded,
C: Bounded,
D: Bounded,
E: Bounded,
F: Bounded,
G: Bounded,
H: Bounded,
I: Bounded,
J: Bounded,
K: Bounded,
L: Bounded,
M: Bounded,
N: Bounded,
O: Bounded,
P: Bounded,
Q: Bounded,
R: Bounded,
S: Bounded,
T: Bounded,
[src]
B: Bounded,
C: Bounded,
D: Bounded,
E: Bounded,
F: Bounded,
G: Bounded,
H: Bounded,
I: Bounded,
J: Bounded,
K: Bounded,
L: Bounded,
M: Bounded,
N: Bounded,
O: Bounded,
P: Bounded,
Q: Bounded,
R: Bounded,
S: Bounded,
T: Bounded,