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