Trait mz_timely_util::order::Extrema

source ·
pub trait Extrema {
    // Required methods
    fn minimum() -> Self;
    fn maximum() -> Self;
}
Expand description

A trait defining the minimum and maximum values of a type.

Required Methods§

source

fn minimum() -> Self

The minimum value of this type.

source

fn maximum() -> Self

The maximum value of this type.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl Extrema for i32

source§

fn minimum() -> Self

source§

fn maximum() -> Self

source§

impl Extrema for u64

source§

fn minimum() -> Self

source§

fn maximum() -> Self

source§

impl Extrema for Uuid

source§

fn minimum() -> Self

source§

fn maximum() -> Self

Implementors§