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