1
2
3
4
5
6
7
8
9
10
11
12
13
14
use comparison::traits::{Max, Min};
use named::Named;

impl Min for bool {
    /// The minimum value of a [`bool`]: `false`.
    const MIN: bool = false;
}

impl Max for bool {
    /// The maximum value of a [`bool`]: `true`.
    const MAX: bool = true;
}

impl_named!(bool);