pub enum Sum10<A, B, C, D, E, F, G, H, I, J> {
A(A),
B(B),
C(C),
D(D),
E(E),
F(F),
G(G),
H(H),
I(I),
J(J),
}
Variants§
Implementations§
source§impl<A, B, C, D, E, F, G, H, I, J> Sum10<A, B, C, D, E, F, G, H, I, J>
impl<A, B, C, D, E, F, G, H, I, J> Sum10<A, B, C, D, E, F, G, H, I, J>
pub fn is_a(&self) -> bool
pub fn a(self) -> Option<A>
pub fn is_b(&self) -> bool
pub fn b(self) -> Option<B>
pub fn is_c(&self) -> bool
pub fn c(self) -> Option<C>
pub fn is_d(&self) -> bool
pub fn d(self) -> Option<D>
pub fn is_e(&self) -> bool
pub fn e(self) -> Option<E>
pub fn is_f(&self) -> bool
pub fn f(self) -> Option<F>
pub fn is_g(&self) -> bool
pub fn g(self) -> Option<G>
pub fn is_h(&self) -> bool
pub fn h(self) -> Option<H>
pub fn is_i(&self) -> bool
pub fn i(self) -> Option<I>
pub fn is_j(&self) -> bool
pub fn j(self) -> Option<J>
pub fn as_ref(&self) -> Sum10<&A, &B, &C, &D, &E, &F, &G, &H, &I, &J>
pub fn as_mut(
&mut self
) -> Sum10<&mut A, &mut B, &mut C, &mut D, &mut E, &mut F, &mut G, &mut H, &mut I, &mut J>
source§impl<A> Sum10<A, A, A, A, A, A, A, A, A, A>
impl<A> Sum10<A, A, A, A, A, A, A, A, A, A>
pub fn into_inner(self) -> A
Trait Implementations§
source§impl<A: AsMut<Target>, B: AsMut<Target>, C: AsMut<Target>, D: AsMut<Target>, E: AsMut<Target>, F: AsMut<Target>, G: AsMut<Target>, H: AsMut<Target>, I: AsMut<Target>, J: AsMut<Target>, Target> AsMut<Target> for Sum10<A, B, C, D, E, F, G, H, I, J>
impl<A: AsMut<Target>, B: AsMut<Target>, C: AsMut<Target>, D: AsMut<Target>, E: AsMut<Target>, F: AsMut<Target>, G: AsMut<Target>, H: AsMut<Target>, I: AsMut<Target>, J: AsMut<Target>, Target> AsMut<Target> for Sum10<A, B, C, D, E, F, G, H, I, J>
source§impl<A: AsRef<Target>, B: AsRef<Target>, C: AsRef<Target>, D: AsRef<Target>, E: AsRef<Target>, F: AsRef<Target>, G: AsRef<Target>, H: AsRef<Target>, I: AsRef<Target>, J: AsRef<Target>, Target> AsRef<Target> for Sum10<A, B, C, D, E, F, G, H, I, J>
impl<A: AsRef<Target>, B: AsRef<Target>, C: AsRef<Target>, D: AsRef<Target>, E: AsRef<Target>, F: AsRef<Target>, G: AsRef<Target>, H: AsRef<Target>, I: AsRef<Target>, J: AsRef<Target>, Target> AsRef<Target> for Sum10<A, B, C, D, E, F, G, H, I, J>
source§impl<A: Clone, B: Clone, C: Clone, D: Clone, E: Clone, F: Clone, G: Clone, H: Clone, I: Clone, J: Clone> Clone for Sum10<A, B, C, D, E, F, G, H, I, J>
impl<A: Clone, B: Clone, C: Clone, D: Clone, E: Clone, F: Clone, G: Clone, H: Clone, I: Clone, J: Clone> Clone for Sum10<A, B, C, D, E, F, G, H, I, J>
source§impl<A: Debug, B: Debug, C: Debug, D: Debug, E: Debug, F: Debug, G: Debug, H: Debug, I: Debug, J: Debug> Debug for Sum10<A, B, C, D, E, F, G, H, I, J>
impl<A: Debug, B: Debug, C: Debug, D: Debug, E: Debug, F: Debug, G: Debug, H: Debug, I: Debug, J: Debug> Debug for Sum10<A, B, C, D, E, F, G, H, I, J>
source§impl<'de, A, B, C, D, E, F, G, H, I, J> Deserialize<'de> for Sum10<A, B, C, D, E, F, G, H, I, J>where
A: Deserialize<'de>,
B: Deserialize<'de>,
C: Deserialize<'de>,
D: Deserialize<'de>,
E: Deserialize<'de>,
F: Deserialize<'de>,
G: Deserialize<'de>,
H: Deserialize<'de>,
I: Deserialize<'de>,
J: Deserialize<'de>,
impl<'de, A, B, C, D, E, F, G, H, I, J> Deserialize<'de> for Sum10<A, B, C, D, E, F, G, H, I, J>where
A: Deserialize<'de>,
B: Deserialize<'de>,
C: Deserialize<'de>,
D: Deserialize<'de>,
E: Deserialize<'de>,
F: Deserialize<'de>,
G: Deserialize<'de>,
H: Deserialize<'de>,
I: Deserialize<'de>,
J: Deserialize<'de>,
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl<A: Display, B: Display, C: Display, D: Display, E: Display, F: Display, G: Display, H: Display, I: Display, J: Display> Display for Sum10<A, B, C, D, E, F, G, H, I, J>
impl<A: Display, B: Display, C: Display, D: Display, E: Display, F: Display, G: Display, H: Display, I: Display, J: Display> Display for Sum10<A, B, C, D, E, F, G, H, I, J>
source§impl<A: Error, B: Error, C: Error, D: Error, E: Error, F: Error, G: Error, H: Error, I: Error, J: Error> Error for Sum10<A, B, C, D, E, F, G, H, I, J>
impl<A: Error, B: Error, C: Error, D: Error, E: Error, F: Error, G: Error, H: Error, I: Error, J: Error> Error for Sum10<A, B, C, D, E, F, G, H, I, J>
source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§fn cause(&self) -> Option<&dyn Error>
fn cause(&self) -> Option<&dyn Error>
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§impl<A: Hash, B: Hash, C: Hash, D: Hash, E: Hash, F: Hash, G: Hash, H: Hash, I: Hash, J: Hash> Hash for Sum10<A, B, C, D, E, F, G, H, I, J>
impl<A: Hash, B: Hash, C: Hash, D: Hash, E: Hash, F: Hash, G: Hash, H: Hash, I: Hash, J: Hash> Hash for Sum10<A, B, C, D, E, F, G, H, I, J>
source§impl<A: Ord, B: Ord, C: Ord, D: Ord, E: Ord, F: Ord, G: Ord, H: Ord, I: Ord, J: Ord> Ord for Sum10<A, B, C, D, E, F, G, H, I, J>
impl<A: Ord, B: Ord, C: Ord, D: Ord, E: Ord, F: Ord, G: Ord, H: Ord, I: Ord, J: Ord> Ord for Sum10<A, B, C, D, E, F, G, H, I, J>
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<A: PartialEq, B: PartialEq, C: PartialEq, D: PartialEq, E: PartialEq, F: PartialEq, G: PartialEq, H: PartialEq, I: PartialEq, J: PartialEq> PartialEq<Sum10<A, B, C, D, E, F, G, H, I, J>> for Sum10<A, B, C, D, E, F, G, H, I, J>
impl<A: PartialEq, B: PartialEq, C: PartialEq, D: PartialEq, E: PartialEq, F: PartialEq, G: PartialEq, H: PartialEq, I: PartialEq, J: PartialEq> PartialEq<Sum10<A, B, C, D, E, F, G, H, I, J>> for Sum10<A, B, C, D, E, F, G, H, I, J>
source§impl<A: PartialOrd, B: PartialOrd, C: PartialOrd, D: PartialOrd, E: PartialOrd, F: PartialOrd, G: PartialOrd, H: PartialOrd, I: PartialOrd, J: PartialOrd> PartialOrd<Sum10<A, B, C, D, E, F, G, H, I, J>> for Sum10<A, B, C, D, E, F, G, H, I, J>
impl<A: PartialOrd, B: PartialOrd, C: PartialOrd, D: PartialOrd, E: PartialOrd, F: PartialOrd, G: PartialOrd, H: PartialOrd, I: PartialOrd, J: PartialOrd> PartialOrd<Sum10<A, B, C, D, E, F, G, H, I, J>> for Sum10<A, B, C, D, E, F, G, H, I, J>
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