pub enum Enum8<E0, E1, E2, E3, E4, E5, E6, E7> {
_0(E0),
_1(E1),
_2(E2),
_3(E3),
_4(E4),
_5(E5),
_6(E6),
_7(E7),
}
Variants§
Implementations§
source§impl<E0, E1, E2, E3, E4, E5, E6, E7> Enum8<E0, E1, E2, E3, E4, E5, E6, E7>
impl<E0, E1, E2, E3, E4, E5, E6, E7> Enum8<E0, E1, E2, E3, E4, E5, E6, E7>
pub fn _0(e: E0) -> Enum8<E0, E1, E2, E3, E4, E5, E6, E7>
pub fn _1(e: E1) -> Enum8<E0, E1, E2, E3, E4, E5, E6, E7>
pub fn _2(e: E2) -> Enum8<E0, E1, E2, E3, E4, E5, E6, E7>
pub fn _3(e: E3) -> Enum8<E0, E1, E2, E3, E4, E5, E6, E7>
pub fn _4(e: E4) -> Enum8<E0, E1, E2, E3, E4, E5, E6, E7>
pub fn _5(e: E5) -> Enum8<E0, E1, E2, E3, E4, E5, E6, E7>
pub fn _6(e: E6) -> Enum8<E0, E1, E2, E3, E4, E5, E6, E7>
pub fn _7(e: E7) -> Enum8<E0, E1, E2, E3, E4, E5, E6, E7>
Trait Implementations§
source§impl<E0, E1, E2, E3, E4, E5, E6, E7> Debug for Enum8<E0, E1, E2, E3, E4, E5, E6, E7>where
E0: Debug,
E1: Debug,
E2: Debug,
E3: Debug,
E4: Debug,
E5: Debug,
E6: Debug,
E7: Debug,
impl<E0, E1, E2, E3, E4, E5, E6, E7> Debug for Enum8<E0, E1, E2, E3, E4, E5, E6, E7>where
E0: Debug,
E1: Debug,
E2: Debug,
E3: Debug,
E4: Debug,
E5: Debug,
E6: Debug,
E7: Debug,
source§impl<E0, E1, E2, E3, E4, E5, E6, E7> Ord for Enum8<E0, E1, E2, E3, E4, E5, E6, E7>where
E0: Ord,
E1: Ord,
E2: Ord,
E3: Ord,
E4: Ord,
E5: Ord,
E6: Ord,
E7: Ord,
impl<E0, E1, E2, E3, E4, E5, E6, E7> Ord for Enum8<E0, E1, E2, E3, E4, E5, E6, E7>where
E0: Ord,
E1: Ord,
E2: Ord,
E3: Ord,
E4: Ord,
E5: Ord,
E6: Ord,
E7: 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, E2, E3, E4, E5, E6, E7> PartialEq<Enum8<E0, E1, E2, E3, E4, E5, E6, E7>> for Enum8<E0, E1, E2, E3, E4, E5, E6, E7>where
E0: PartialEq<E0>,
E1: PartialEq<E1>,
E2: PartialEq<E2>,
E3: PartialEq<E3>,
E4: PartialEq<E4>,
E5: PartialEq<E5>,
E6: PartialEq<E6>,
E7: PartialEq<E7>,
impl<E0, E1, E2, E3, E4, E5, E6, E7> PartialEq<Enum8<E0, E1, E2, E3, E4, E5, E6, E7>> for Enum8<E0, E1, E2, E3, E4, E5, E6, E7>where
E0: PartialEq<E0>,
E1: PartialEq<E1>,
E2: PartialEq<E2>,
E3: PartialEq<E3>,
E4: PartialEq<E4>,
E5: PartialEq<E5>,
E6: PartialEq<E6>,
E7: PartialEq<E7>,
source§impl<E0, E1, E2, E3, E4, E5, E6, E7> PartialOrd<Enum8<E0, E1, E2, E3, E4, E5, E6, E7>> for Enum8<E0, E1, E2, E3, E4, E5, E6, E7>where
E0: PartialOrd<E0>,
E1: PartialOrd<E1>,
E2: PartialOrd<E2>,
E3: PartialOrd<E3>,
E4: PartialOrd<E4>,
E5: PartialOrd<E5>,
E6: PartialOrd<E6>,
E7: PartialOrd<E7>,
impl<E0, E1, E2, E3, E4, E5, E6, E7> PartialOrd<Enum8<E0, E1, E2, E3, E4, E5, E6, E7>> for Enum8<E0, E1, E2, E3, E4, E5, E6, E7>where
E0: PartialOrd<E0>,
E1: PartialOrd<E1>,
E2: PartialOrd<E2>,
E3: PartialOrd<E3>,
E4: PartialOrd<E4>,
E5: PartialOrd<E5>,
E6: PartialOrd<E6>,
E7: PartialOrd<E7>,
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