mz_timely_util::order

Trait 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.

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.

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§

impl<P> Extrema for RangeBound<P>