pub enum Enum4<E0, E1, E2, E3> {
_0(E0),
_1(E1),
_2(E2),
_3(E3),
}
Variants§
Implementations§
Trait Implementations§
source§impl<E0: Ord, E1: Ord, E2: Ord, E3: Ord> Ord for Enum4<E0, E1, E2, E3>
impl<E0: Ord, E1: Ord, E2: Ord, E3: Ord> Ord for Enum4<E0, E1, E2, E3>
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl<E0: PartialEq, E1: PartialEq, E2: PartialEq, E3: PartialEq> PartialEq<Enum4<E0, E1, E2, E3>> for Enum4<E0, E1, E2, E3>
impl<E0: PartialEq, E1: PartialEq, E2: PartialEq, E3: PartialEq> PartialEq<Enum4<E0, E1, E2, E3>> for Enum4<E0, E1, E2, E3>
source§impl<E0: PartialOrd, E1: PartialOrd, E2: PartialOrd, E3: PartialOrd> PartialOrd<Enum4<E0, E1, E2, E3>> for Enum4<E0, E1, E2, E3>
impl<E0: PartialOrd, E1: PartialOrd, E2: PartialOrd, E3: PartialOrd> PartialOrd<Enum4<E0, E1, E2, E3>> for Enum4<E0, E1, E2, E3>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more