Trait sp_arithmetic::traits::Bounded[][src]

pub trait Bounded {
    pub fn min_value() -> Self;
pub fn max_value() -> Self; }

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

Loading content...

Implementations on Foreign Types

impl<P, Q, R, S, T> Bounded for (P, Q, R, S, T) where
    T: Bounded,
    P: Bounded,
    S: Bounded,
    R: Bounded,
    Q: Bounded
[src]

impl<O, P, Q, R, S, T> Bounded for (O, P, Q, R, S, T) where
    T: Bounded,
    P: Bounded,
    S: Bounded,
    R: Bounded,
    Q: Bounded,
    O: Bounded
[src]

impl Bounded for u32[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,
    P: Bounded,
    S: Bounded,
    N: Bounded,
    R: Bounded,
    L: Bounded,
    Q: Bounded,
    M: Bounded,
    O: Bounded
[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
    T: Bounded,
    P: Bounded,
    S: Bounded,
    N: Bounded,
    I: Bounded,
    R: Bounded,
    F: Bounded,
    E: Bounded,
    K: Bounded,
    G: Bounded,
    H: Bounded,
    J: Bounded,
    L: Bounded,
    Q: Bounded,
    M: Bounded,
    O: Bounded
[src]

impl Bounded for isize[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,
    P: Bounded,
    S: Bounded,
    N: Bounded,
    I: Bounded,
    D: Bounded,
    R: Bounded,
    F: Bounded,
    E: Bounded,
    K: Bounded,
    G: Bounded,
    H: Bounded,
    J: Bounded,
    L: Bounded,
    Q: Bounded,
    M: Bounded,
    O: Bounded
[src]

impl<T> Bounded for Wrapping<T> where
    T: Bounded
[src]

impl Bounded for u8[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,
    P: Bounded,
    S: Bounded,
    N: Bounded,
    I: Bounded,
    D: Bounded,
    R: Bounded,
    F: Bounded,
    E: Bounded,
    K: Bounded,
    G: Bounded,
    H: Bounded,
    J: Bounded,
    L: Bounded,
    Q: Bounded,
    M: Bounded,
    O: Bounded
[src]

impl Bounded for i128[src]

impl Bounded for i8[src]

impl Bounded for ()[src]

impl<Q, R, S, T> Bounded for (Q, R, S, T) where
    T: Bounded,
    S: Bounded,
    R: Bounded,
    Q: Bounded
[src]

impl<N, O, P, Q, R, S, T> Bounded for (N, O, P, Q, R, S, T) where
    T: Bounded,
    P: Bounded,
    S: Bounded,
    N: Bounded,
    R: Bounded,
    Q: Bounded,
    O: Bounded
[src]

impl Bounded for i16[src]

impl Bounded for usize[src]

impl Bounded for u128[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,
    P: Bounded,
    S: Bounded,
    N: Bounded,
    R: Bounded,
    K: Bounded,
    L: Bounded,
    Q: Bounded,
    M: Bounded,
    O: Bounded
[src]

impl Bounded for u16[src]

impl<R, S, T> Bounded for (R, S, T) where
    T: Bounded,
    S: Bounded,
    R: Bounded
[src]

impl Bounded for f32[src]

impl Bounded for i32[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,
    P: Bounded,
    S: Bounded,
    N: Bounded,
    I: Bounded,
    R: Bounded,
    K: Bounded,
    H: Bounded,
    J: Bounded,
    L: Bounded,
    Q: Bounded,
    M: Bounded,
    O: Bounded
[src]

impl<S, T> Bounded for (S, T) where
    T: Bounded,
    S: Bounded
[src]

impl Bounded for u64[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,
    P: Bounded,
    B: Bounded,
    S: Bounded,
    N: Bounded,
    I: Bounded,
    D: Bounded,
    R: Bounded,
    F: Bounded,
    A: Bounded,
    E: Bounded,
    K: Bounded,
    G: Bounded,
    H: Bounded,
    J: Bounded,
    L: Bounded,
    Q: Bounded,
    M: Bounded,
    O: Bounded
[src]

impl Bounded for f64[src]

impl<T> Bounded for (T,) where
    T: Bounded
[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,
    P: Bounded,
    S: Bounded,
    N: Bounded,
    I: Bounded,
    R: Bounded,
    F: Bounded,
    K: Bounded,
    G: Bounded,
    H: Bounded,
    J: Bounded,
    L: Bounded,
    Q: Bounded,
    M: Bounded,
    O: Bounded
[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,
    P: Bounded,
    S: Bounded,
    N: Bounded,
    R: Bounded,
    K: Bounded,
    J: Bounded,
    L: Bounded,
    Q: Bounded,
    M: Bounded,
    O: Bounded
[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,
    P: Bounded,
    S: Bounded,
    N: Bounded,
    I: Bounded,
    R: Bounded,
    K: Bounded,
    G: Bounded,
    H: Bounded,
    J: Bounded,
    L: Bounded,
    Q: Bounded,
    M: Bounded,
    O: Bounded
[src]

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
    C: Bounded,
    T: Bounded,
    P: Bounded,
    B: Bounded,
    S: Bounded,
    N: Bounded,
    I: Bounded,
    D: Bounded,
    R: Bounded,
    F: Bounded,
    E: Bounded,
    K: Bounded,
    G: Bounded,
    H: Bounded,
    J: Bounded,
    L: Bounded,
    Q: Bounded,
    M: Bounded,
    O: Bounded
[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,
    P: Bounded,
    S: Bounded,
    N: Bounded,
    I: Bounded,
    R: Bounded,
    K: Bounded,
    J: Bounded,
    L: Bounded,
    Q: Bounded,
    M: Bounded,
    O: Bounded
[src]

impl<M, N, O, P, Q, R, S, T> Bounded for (M, N, O, P, Q, R, S, T) where
    T: Bounded,
    P: Bounded,
    S: Bounded,
    N: Bounded,
    R: Bounded,
    Q: Bounded,
    M: Bounded,
    O: Bounded
[src]

Loading content...

Implementors

impl Bounded for FixedI64[src]

impl Bounded for FixedI128[src]

impl Bounded for FixedU128[src]

impl Bounded for PerU16[src]

impl Bounded for Perbill[src]

impl Bounded for Percent[src]

impl Bounded for Permill[src]

impl Bounded for Perquintill[src]

Loading content...