Trait HasMin

Source
pub trait HasMin: Sized {
    const MIN: Self;

    // Required method
    const fn is_min(self) -> bool;
}
Expand description

✅ Checks if self is the minimum value.

§Panics

This function never panics.

Required Associated Constants§

Source

const MIN: Self

Required Methods§

Source

const fn is_min(self) -> bool

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.

Implementors§

Source§

impl HasMin for Dec19x19

The smallest possible value that can be stored in a Dec19x19, equal to

-17_014_118_346_046_923_173.168_730_371_588_410_572_8
Source§

const MIN: Self