Trait range_traits::Bounded

source ·
pub trait Bounded: Sized {
    const MIN: Self;
    const MAX: Self;
}

Required Associated Constants§

source

const MIN: Self

source

const MAX: Self

Implementations on Foreign Types§

source§

impl Bounded for i8

source§

const MIN: Self = -128i8

source§

const MAX: Self = 127i8

source§

impl Bounded for f32

source§

const MIN: Self = -Inff32

source§

const MAX: Self = +Inff32

source§

impl Bounded for i16

source§

const MIN: Self = -32_768i16

source§

const MAX: Self = 32_767i16

source§

impl Bounded for i32

source§

const MIN: Self = -2_147_483_648i32

source§

const MAX: Self = 2_147_483_647i32

source§

impl Bounded for char

source§

const MIN: char = '\0'

source§

const MAX: char = '\u{10ffff}'

source§

impl Bounded for u16

source§

const MIN: Self = 0u16

source§

const MAX: Self = 65_535u16

source§

impl Bounded for u64

source§

const MIN: Self = 0u64

source§

const MAX: Self = 18_446_744_073_709_551_615u64

source§

impl Bounded for i64

source§

const MIN: Self = -9_223_372_036_854_775_808i64

source§

const MAX: Self = 9_223_372_036_854_775_807i64

source§

impl Bounded for i128

source§

const MIN: Self = -170_141_183_460_469_231_731_687_303_715_884_105_728i128

source§

const MAX: Self = 170_141_183_460_469_231_731_687_303_715_884_105_727i128

source§

impl Bounded for usize

source§

const MIN: Self = 0usize

source§

const MAX: Self = 4_294_967_295usize

source§

impl Bounded for isize

source§

const MIN: Self = -2_147_483_648isize

source§

const MAX: Self = 2_147_483_647isize

source§

impl Bounded for u32

source§

const MIN: Self = 0u32

source§

const MAX: Self = 4_294_967_295u32

source§

impl Bounded for u8

source§

const MIN: Self = 0u8

source§

const MAX: Self = 255u8

source§

impl Bounded for u128

source§

const MIN: Self = 0u128

source§

const MAX: Self = 340_282_366_920_938_463_463_374_607_431_768_211_455u128

source§

impl Bounded for f64

source§

const MIN: Self = -Inff64

source§

const MAX: Self = +Inff64

Implementors§