Skip to main content

Module rangebounds

Module rangebounds 

Source
Expand description

This module exposes helpers for working with types that implement RangeBounds.

Re-exportsยง

use std::cmp; ๐Ÿ”’
use std::cmp::Ord; ๐Ÿ”’
use std::cmp::Ord; ๐Ÿ”’
use std::ops::Bound; ๐Ÿ”’
use std::ops::RangeBounds; ๐Ÿ”’

Traitsยง

RangeBoundsExt
An extension trait for RangeBounds.

Functionsยง

bounds_max ๐Ÿ”’
Return the largest of b1 and b2.
bounds_min ๐Ÿ”’
Return the smallest of b1 and b2.