Functions for the unit type.
Eq
for ()
eq
fn eq(&self, _other: &()) -> bool
ne
fn ne(&self, _other: &()) -> bool
Ord
for ()
lt
fn lt(&self, _other: &()) -> bool
le
fn le(&self, _other: &()) -> bool
ge
fn ge(&self, _other: &()) -> bool
gt
fn gt(&self, _other: &()) -> bool
TotalOrd
for ()
cmp
fn cmp(&self, _other: &()) -> Ordering
TotalEq
for ()
equals
fn equals(&self, _other: &()) -> bool