rgeometry

Trait TotalOrd

source
pub trait TotalOrd {
    // Required method
    fn total_cmp(&self, other: &Self) -> Ordering;

    // Provided methods
    fn total_min(self, other: Self) -> Self
       where Self: Sized { ... }
    fn total_max(self, other: Self) -> Self
       where Self: Sized { ... }
}

Required Methods§

source

fn total_cmp(&self, other: &Self) -> Ordering

Provided Methods§

source

fn total_min(self, other: Self) -> Self
where Self: Sized,

source

fn total_max(self, other: Self) -> Self
where Self: Sized,

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl TotalOrd for f32

source§

fn total_cmp(&self, other: &Self) -> Ordering

source§

impl TotalOrd for f64

source§

fn total_cmp(&self, other: &Self) -> Ordering

source§

impl TotalOrd for i8

source§

fn total_cmp(&self, other: &Self) -> Ordering

source§

impl TotalOrd for i16

source§

fn total_cmp(&self, other: &Self) -> Ordering

source§

impl TotalOrd for i32

source§

fn total_cmp(&self, other: &Self) -> Ordering

source§

impl TotalOrd for i64

source§

fn total_cmp(&self, other: &Self) -> Ordering

source§

impl TotalOrd for isize

source§

fn total_cmp(&self, other: &Self) -> Ordering

source§

impl TotalOrd for u32

source§

fn total_cmp(&self, other: &Self) -> Ordering

source§

impl TotalOrd for BigInt

source§

fn total_cmp(&self, other: &Self) -> Ordering

source§

impl TotalOrd for NotNan<f32>

source§

fn total_cmp(&self, other: &Self) -> Ordering

source§

impl TotalOrd for NotNan<f64>

source§

fn total_cmp(&self, other: &Self) -> Ordering

source§

impl TotalOrd for OrderedFloat<f32>

source§

fn total_cmp(&self, other: &Self) -> Ordering

source§

impl TotalOrd for OrderedFloat<f64>

source§

fn total_cmp(&self, other: &Self) -> Ordering

source§

impl TotalOrd for BigRational

source§

fn total_cmp(&self, other: &Self) -> Ordering

source§

impl<A: TotalOrd> TotalOrd for &A

source§

fn total_cmp(&self, other: &Self) -> Ordering

source§

impl<A: TotalOrd, B: TotalOrd> TotalOrd for (A, B)

source§

fn total_cmp(&self, other: &Self) -> Ordering

Implementors§

source§

impl<T: TotalOrd> TotalOrd for Cursor<'_, T>

source§

impl<T: TotalOrd, const N: usize> TotalOrd for Point<T, N>