Bounded

Trait Bounded 

Source
pub trait Bounded: Copy {
    const MIN: Self;
    const MAX: Self;
}

Required Associated Constants§

Source

const MIN: Self

Source

const MAX: Self

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl Bounded for f32

Source§

const MIN: f32 = -3.40282347E+38f32

Source§

const MAX: f32 = 3.40282347E+38f32

Source§

impl Bounded for i32

Source§

const MIN: i32 = -2_147_483_648i32

Source§

const MAX: i32 = 2_147_483_647i32

Implementors§