referrerpolicy=no-referrer-when-downgrade

Trait polkadot_runtime_common::Bounded

source ·
pub trait Bounded {
    // Required methods
    fn min_value() -> Self;
    fn max_value() -> Self;
}
Expand description

Numbers which have upper and lower bounds

Required Methods§

source

fn min_value() -> Self

Returns the smallest finite number this type can represent

source

fn max_value() -> Self

Returns the largest finite number this type can represent

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl Bounded for f32

source§

impl Bounded for f64

source§

impl Bounded for i8

source§

impl Bounded for i16

source§

impl Bounded for i32

source§

impl Bounded for i64

source§

impl Bounded for i128

source§

impl Bounded for isize

source§

impl Bounded for u8

source§

impl Bounded for u16

source§

impl Bounded for u32

source§

impl Bounded for u64

source§

impl Bounded for u128

source§

impl Bounded for ()

source§

impl Bounded for usize

§

impl Bounded for FixedI64

§

fn min_value() -> FixedI64

§

fn max_value() -> FixedI64

§

impl Bounded for FixedI128

§

fn min_value() -> FixedI128

§

fn max_value() -> FixedI128

§

impl Bounded for FixedU64

§

fn min_value() -> FixedU64

§

fn max_value() -> FixedU64

§

impl Bounded for FixedU128

§

fn min_value() -> FixedU128

§

fn max_value() -> FixedU128

§

impl Bounded for PerU16

§

fn min_value() -> PerU16

§

fn max_value() -> PerU16

§

impl Bounded for Perbill

§

fn min_value() -> Perbill

§

fn max_value() -> Perbill

§

impl Bounded for Percent

§

fn min_value() -> Percent

§

fn max_value() -> Percent

§

impl Bounded for Permill

§

fn min_value() -> Permill

§

fn max_value() -> Permill

§

impl Bounded for Perquintill

§

fn min_value() -> Perquintill

§

fn max_value() -> Perquintill

§

impl Bounded for Rational128

§

fn min_value() -> Rational128

§

fn max_value() -> Rational128

§

impl Bounded for Weight

§

fn min_value() -> Weight

§

fn max_value() -> Weight

source§

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,

source§

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,

source§

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,

source§

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,

source§

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,

source§

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,

source§

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,

source§

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,

source§

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,

source§

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,

source§

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,

source§

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,

source§

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,

source§

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,

source§

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,

source§

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

source§

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

source§

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

source§

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

source§

impl<T> Bounded for (T,)
where T: Bounded,

source§

impl<T> Bounded for Wrapping<T>
where T: Bounded,

source§

impl<T, D> Bounded for OPoint<T, D>

§

impl<T, D> Bounded for TypeWithDefault<T, D>
where T: Bounded, D: Get<T>,

§

fn min_value() -> TypeWithDefault<T, D>

§

fn max_value() -> TypeWithDefault<T, D>

source§

impl<T, R, C> Bounded for Matrix<T, R, C, <DefaultAllocator as Allocator<T, R, C>>::Buffer>
where R: DimName, C: DimName, T: Scalar + Bounded, DefaultAllocator: Allocator<T, R, C>,

source§

fn max_value() -> Matrix<T, R, C, <DefaultAllocator as Allocator<T, R, C>>::Buffer>

source§

fn min_value() -> Matrix<T, R, C, <DefaultAllocator as Allocator<T, R, C>>::Buffer>

Implementors§