pub trait Minimum: Ord {
    const MIN: Self;
}
Expand description

Trait for types for which a minimum possible value exists.

This trait must be implemented for any K key type in the ConcurrentMap.

Required Associated Constants§

source

const MIN: Self

The returned value must be less than or equal to all possible values for this type.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl Minimum for &str

source§

const MIN: Self = ""

source§

impl Minimum for bool

source§

const MIN: Self = false

source§

impl Minimum for i8

source§

const MIN: Self = -128i8

source§

impl Minimum for i16

source§

const MIN: Self = -32_768i16

source§

impl Minimum for i32

source§

const MIN: Self = -2_147_483_648i32

source§

impl Minimum for i64

source§

const MIN: Self = -9_223_372_036_854_775_808i64

source§

impl Minimum for i128

source§

const MIN: Self = -170_141_183_460_469_231_731_687_303_715_884_105_728i128

source§

impl Minimum for isize

source§

const MIN: Self = -9_223_372_036_854_775_808isize

source§

impl Minimum for u8

source§

const MIN: Self = 0u8

source§

impl Minimum for u16

source§

const MIN: Self = 0u16

source§

impl Minimum for u32

source§

const MIN: Self = 0u32

source§

impl Minimum for u64

source§

const MIN: Self = 0u64

source§

impl Minimum for u128

source§

const MIN: Self = 0u128

source§

impl Minimum for ()

source§

const MIN: Self = ()

source§

impl Minimum for usize

source§

const MIN: Self = 0usize

source§

impl Minimum for String

source§

const MIN: Self = _

source§

impl Minimum for NonZeroI8

source§

const MIN: Self = NonZeroI8::MIN

source§

impl Minimum for NonZeroI16

source§

const MIN: Self = NonZeroI16::MIN

source§

impl Minimum for NonZeroI32

source§

const MIN: Self = NonZeroI32::MIN

source§

impl Minimum for NonZeroI64

source§

const MIN: Self = NonZeroI64::MIN

source§

impl Minimum for NonZeroI128

source§

const MIN: Self = NonZeroI128::MIN

source§

impl Minimum for NonZeroIsize

source§

const MIN: Self = NonZeroIsize::MIN

source§

impl Minimum for NonZeroU8

source§

const MIN: Self = NonZeroU8::MIN

source§

impl Minimum for NonZeroU16

source§

const MIN: Self = NonZeroU16::MIN

source§

impl Minimum for NonZeroU32

source§

const MIN: Self = NonZeroU32::MIN

source§

impl Minimum for NonZeroU64

source§

const MIN: Self = NonZeroU64::MIN

source§

impl Minimum for NonZeroU128

source§

const MIN: Self = NonZeroU128::MIN

source§

impl Minimum for NonZeroUsize

source§

const MIN: Self = NonZeroUsize::MIN

source§

impl<A: Minimum, B: Minimum> Minimum for (A, B)

source§

const MIN: Self = _

source§

impl<A: Minimum, B: Minimum, C: Minimum> Minimum for (A, B, C)

source§

const MIN: Self = _

source§

impl<A: Minimum, B: Minimum, C: Minimum, D: Minimum> Minimum for (A, B, C, D)

source§

const MIN: Self = _

source§

impl<A: Minimum, B: Minimum, C: Minimum, D: Minimum, E: Minimum> Minimum for (A, B, C, D, E)

source§

const MIN: Self = _

source§

impl<A: Minimum, B: Minimum, C: Minimum, D: Minimum, E: Minimum, F: Minimum> Minimum for (A, B, C, D, E, F)

source§

const MIN: Self = _

source§

impl<T: Ord> Minimum for &[T]

source§

const MIN: Self = _

source§

impl<T: Ord> Minimum for Vec<T>

source§

const MIN: Self = _

source§

impl<T: Maximum> Minimum for Reverse<T>

source§

const MIN: Self = _

source§

impl<T: Minimum, const LEN: usize> Minimum for [T; LEN]

source§

const MIN: Self = _

Implementors§