Min

Trait Min 

Source
pub trait Min {
    const MIN_VALUE: Self;
}
Expand description

Trait for types that have a constant representing the minimum value.

Required Associated Constants§

Source

const MIN_VALUE: Self

The minimum value for this type.

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 Min for i8

Source§

const MIN_VALUE: Self = -128i8

Source§

impl Min for i16

Source§

const MIN_VALUE: Self = -32_768i16

Source§

impl Min for i32

Source§

const MIN_VALUE: Self = -2_147_483_648i32

Source§

impl Min for i64

Source§

const MIN_VALUE: Self = -9_223_372_036_854_775_808i64

Source§

impl Min for i128

Source§

const MIN_VALUE: Self = -170_141_183_460_469_231_731_687_303_715_884_105_728i128

Source§

impl Min for isize

Source§

const MIN_VALUE: Self = -9_223_372_036_854_775_808isize

Source§

impl Min for u8

Source§

const MIN_VALUE: Self = 0u8

Source§

impl Min for u16

Source§

const MIN_VALUE: Self = 0u16

Source§

impl Min for u32

Source§

const MIN_VALUE: Self = 0u32

Source§

impl Min for u64

Source§

const MIN_VALUE: Self = 0u64

Source§

impl Min for u128

Source§

const MIN_VALUE: Self = 0u128

Source§

impl Min for usize

Source§

const MIN_VALUE: Self = 0usize

Implementors§

Source§

impl Min for U256

Source§

const MIN_VALUE: Self