pub enum Enum3<E0, E1, E2> {
_0(E0),
_1(E1),
_2(E2),
}Variants§
Implementations§
Trait Implementations§
source§impl<E0: Ord, E1: Ord, E2: Ord> Ord for Enum3<E0, E1, E2>
impl<E0: Ord, E1: Ord, E2: Ord> Ord for Enum3<E0, E1, E2>
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> PartialEq<Enum3<E0, E1, E2>> for Enum3<E0, E1, E2>
impl<E0: PartialEq, E1: PartialEq, E2: PartialEq> PartialEq<Enum3<E0, E1, E2>> for Enum3<E0, E1, E2>
source§impl<E0: PartialOrd, E1: PartialOrd, E2: PartialOrd> PartialOrd<Enum3<E0, E1, E2>> for Enum3<E0, E1, E2>
impl<E0: PartialOrd, E1: PartialOrd, E2: PartialOrd> PartialOrd<Enum3<E0, E1, E2>> for Enum3<E0, E1, E2>
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