Functions for the unit type.

Implementation of Eq for ()

Method eq

fn eq(&self, _other: &()) -> bool

Method ne

fn ne(&self, _other: &()) -> bool

Implementation of Ord for ()

Method lt

fn lt(&self, _other: &()) -> bool

Method le

fn le(&self, _other: &()) -> bool

Method ge

fn ge(&self, _other: &()) -> bool

Method gt

fn gt(&self, _other: &()) -> bool

Implementation of TotalOrd for ()

Method cmp

fn cmp(&self, _other: &()) -> Ordering

Implementation of TotalEq for ()

Method equals

fn equals(&self, _other: &()) -> bool