# [−] [src] Trait num_traits::bounds::Bounded

    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

Loading content...

## Implementations on Foreign Types

### `impl Bounded for usize` [src]

#### `fn min_value() -> usize` [src]

#### `fn max_value() -> usize` [src]

### `impl Bounded for u8` [src]

#### `fn min_value() -> u8` [src]

#### `fn max_value() -> u8` [src]

### `impl Bounded for u16` [src]

#### `fn min_value() -> u16` [src]

#### `fn max_value() -> u16` [src]

### `impl Bounded for u32` [src]

#### `fn min_value() -> u32` [src]

#### `fn max_value() -> u32` [src]

### `impl Bounded for u64` [src]

#### `fn min_value() -> u64` [src]

#### `fn max_value() -> u64` [src]

### `impl Bounded for u128` [src]

#### `fn min_value() -> u128` [src]

#### `fn max_value() -> u128` [src]

### `impl Bounded for isize` [src]

#### `fn min_value() -> isize` [src]

#### `fn max_value() -> isize` [src]

### `impl Bounded for i8` [src]

#### `fn min_value() -> i8` [src]

#### `fn max_value() -> i8` [src]

### `impl Bounded for i16` [src]

#### `fn min_value() -> i16` [src]

#### `fn max_value() -> i16` [src]

### `impl Bounded for i32` [src]

#### `fn min_value() -> i32` [src]

#### `fn max_value() -> i32` [src]

### `impl Bounded for i64` [src]

#### `fn min_value() -> i64` [src]

#### `fn max_value() -> i64` [src]

### `impl Bounded for i128` [src]

#### `fn min_value() -> i128` [src]

#### `fn max_value() -> i128` [src]

### `impl<T: Bounded> Bounded for Wrapping<T>` [src]

#### `fn min_value() -> Self` [src]

#### `fn max_value() -> Self` [src]

### `impl Bounded for f32` [src]

#### `fn min_value() -> f32` [src]

#### `fn max_value() -> f32` [src]

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

#### `fn min_value() -> Self` [src]

#### `fn max_value() -> Self` [src]

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

#### `fn min_value() -> Self` [src]

#### `fn max_value() -> Self` [src]

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

#### `fn min_value() -> Self` [src]

#### `fn max_value() -> Self` [src]

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

#### `fn min_value() -> Self` [src]

#### `fn max_value() -> Self` [src]

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

#### `fn min_value() -> Self` [src]

#### `fn max_value() -> Self` [src]

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

#### `fn min_value() -> Self` [src]

#### `fn max_value() -> Self` [src]

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

#### `fn min_value() -> Self` [src]

#### `fn max_value() -> Self` [src]

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

#### `fn min_value() -> Self` [src]

#### `fn max_value() -> Self` [src]

### `impl<I: Bounded, J: Bounded, K: Bounded, L: Bounded, M: Bounded, N: Bounded, O: Bounded, P: Bounded, Q: Bounded, R: Bounded, S: Bounded, T: Bounded> Bounded for (I, J, K, L, M, N, O, P, Q, R, S, T)` [src]

#### `fn min_value() -> Self` [src]

#### `fn max_value() -> Self` [src]

### `impl<J: Bounded, K: Bounded, L: Bounded, M: Bounded, N: Bounded, O: Bounded, P: Bounded, Q: Bounded, R: Bounded, S: Bounded, T: Bounded> Bounded for (J, K, L, M, N, O, P, Q, R, S, T)` [src]

#### `fn min_value() -> Self` [src]

#### `fn max_value() -> Self` [src]

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

#### `fn min_value() -> Self` [src]

#### `fn max_value() -> Self` [src]

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

#### `fn min_value() -> Self` [src]

#### `fn max_value() -> Self` [src]

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

#### `fn min_value() -> Self` [src]

#### `fn max_value() -> Self` [src]

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

#### `fn min_value() -> Self` [src]

#### `fn max_value() -> Self` [src]

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

#### `fn min_value() -> Self` [src]

#### `fn max_value() -> Self` [src]

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

#### `fn min_value() -> Self` [src]

#### `fn max_value() -> Self` [src]

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

#### `fn min_value() -> Self` [src]

#### `fn max_value() -> Self` [src]

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

#### `fn min_value() -> Self` [src]

#### `fn max_value() -> Self` [src]

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

#### `fn min_value() -> Self` [src]

#### `fn max_value() -> Self` [src]

### `impl<T: Bounded> Bounded for (T,)` [src]

#### `fn min_value() -> Self` [src]

#### `fn max_value() -> Self` [src]

### `impl Bounded for ()` [src]

#### `fn min_value() -> Self` [src]

#### `fn max_value() -> Self` [src]

### `impl Bounded for f64` [src]

#### `fn min_value() -> f64` [src]

#### `fn max_value() -> f64` [src]

Loading content...

## Implementors

Loading content...

# Help

## Keyboard Shortcuts

`?`
  Show this help dialog
`S`
  Focus the search field
`↑`
  Move up in search results
`↓`
  Move down in search results
`↹`
  Switch tab
`⏎`
  Go to active search result
`+`
  Expand all sections
`-`
  Collapse all sections

## Search Tricks

Prefix searches with a type followed by a colon (e.g., `fn:`) to restrict the search to a given type.

Accepted types are: `fn`, `mod`, `struct`, `enum`, `trait`, `type`, `macro`, and `const`.

Search functions by type signature (e.g., `vec -> usize` or `* -> vec`)

Search multiple things at once by splitting your query with comma (e.g., `str,u8` or `String,struct:Vec,test`)