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