Trait inanis::utils::minmax::MinMax

source ·
pub trait MinMax {
    // Required methods
    fn min() -> Self;
    fn max() -> Self;
}

Required Methods§

source

fn min() -> Self

source

fn max() -> Self

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl MinMax for i8

source§

fn min() -> i8

Gets a minimal possible value for the type.

source§

fn max() -> i8

Gets a maximal possible value for the type.

source§

impl MinMax for i16

source§

fn min() -> i16

Gets a minimal possible value for the type.

source§

fn max() -> i16

Gets a maximal possible value for the type.

source§

impl MinMax for i32

source§

fn min() -> i32

Gets a minimal possible value for the type.

source§

fn max() -> i32

Gets a maximal possible value for the type.

source§

impl MinMax for i64

source§

fn min() -> i64

Gets a minimal possible value for the type.

source§

fn max() -> i64

Gets a maximal possible value for the type.

source§

impl MinMax for isize

source§

fn min() -> isize

Gets a minimal possible value for the type.

source§

fn max() -> isize

Gets a maximal possible value for the type.

source§

impl MinMax for u8

source§

fn min() -> u8

Gets a minimal possible value for the type.

source§

fn max() -> u8

Gets a maximal possible value for the type.

source§

impl MinMax for u16

source§

fn min() -> u16

Gets a minimal possible value for the type.

source§

fn max() -> u16

Gets a maximal possible value for the type.

source§

impl MinMax for u32

source§

fn min() -> u32

Gets a minimal possible value for the type.

source§

fn max() -> u32

Gets a maximal possible value for the type.

source§

impl MinMax for u64

source§

fn min() -> u64

Gets a minimal possible value for the type.

source§

fn max() -> u64

Gets a maximal possible value for the type.

source§

impl MinMax for usize

source§

fn min() -> usize

Gets a minimal possible value for the type.

source§

fn max() -> usize

Gets a maximal possible value for the type.

Implementors§