pub enum Sum16<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P> {
Show 16 variants
A(A),
B(B),
C(C),
D(D),
E(E),
F(F),
G(G),
H(H),
I(I),
J(J),
K(K),
L(L),
M(M),
N(N),
O(O),
P(P),
}
Variants§
Implementations§
source§impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P> Sum16<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P>
impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P> Sum16<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P>
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 is_k(&self) -> bool
pub fn k(self) -> Option<K>
pub fn is_l(&self) -> bool
pub fn l(self) -> Option<L>
pub fn is_m(&self) -> bool
pub fn m(self) -> Option<M>
pub fn is_n(&self) -> bool
pub fn n(self) -> Option<N>
pub fn is_o(&self) -> bool
pub fn o(self) -> Option<O>
pub fn is_p(&self) -> bool
pub fn p(self) -> Option<P>
pub fn as_ref(
&self
) -> Sum16<&A, &B, &C, &D, &E, &F, &G, &H, &I, &J, &K, &L, &M, &N, &O, &P>
pub fn as_mut(
&mut self
) -> Sum16<&mut A, &mut B, &mut C, &mut D, &mut E, &mut F, &mut G, &mut H, &mut I, &mut J, &mut K, &mut L, &mut M, &mut N, &mut O, &mut P>
source§impl<A> Sum16<A, A, A, A, A, A, A, A, A, A, A, A, A, A, A, A>
impl<A> Sum16<A, A, A, A, A, A, 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>, K: AsMut<Target>, L: AsMut<Target>, M: AsMut<Target>, N: AsMut<Target>, O: AsMut<Target>, P: AsMut<Target>, Target> AsMut<Target> for Sum16<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P>
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>, K: AsMut<Target>, L: AsMut<Target>, M: AsMut<Target>, N: AsMut<Target>, O: AsMut<Target>, P: AsMut<Target>, Target> AsMut<Target> for Sum16<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P>
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>, K: AsRef<Target>, L: AsRef<Target>, M: AsRef<Target>, N: AsRef<Target>, O: AsRef<Target>, P: AsRef<Target>, Target> AsRef<Target> for Sum16<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P>
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>, K: AsRef<Target>, L: AsRef<Target>, M: AsRef<Target>, N: AsRef<Target>, O: AsRef<Target>, P: AsRef<Target>, Target> AsRef<Target> for Sum16<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P>
source§impl<A: Clone, B: Clone, C: Clone, D: Clone, E: Clone, F: Clone, G: Clone, H: Clone, I: Clone, J: Clone, K: Clone, L: Clone, M: Clone, N: Clone, O: Clone, P: Clone> Clone for Sum16<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P>
impl<A: Clone, B: Clone, C: Clone, D: Clone, E: Clone, F: Clone, G: Clone, H: Clone, I: Clone, J: Clone, K: Clone, L: Clone, M: Clone, N: Clone, O: Clone, P: Clone> Clone for Sum16<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P>
source§impl<A: Debug, B: Debug, C: Debug, D: Debug, E: Debug, F: Debug, G: Debug, H: Debug, I: Debug, J: Debug, K: Debug, L: Debug, M: Debug, N: Debug, O: Debug, P: Debug> Debug for Sum16<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P>
impl<A: Debug, B: Debug, C: Debug, D: Debug, E: Debug, F: Debug, G: Debug, H: Debug, I: Debug, J: Debug, K: Debug, L: Debug, M: Debug, N: Debug, O: Debug, P: Debug> Debug for Sum16<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P>
source§impl<'de, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P> Deserialize<'de> for Sum16<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P>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>,
K: Deserialize<'de>,
L: Deserialize<'de>,
M: Deserialize<'de>,
N: Deserialize<'de>,
O: Deserialize<'de>,
P: Deserialize<'de>,
impl<'de, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P> Deserialize<'de> for Sum16<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P>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>,
K: Deserialize<'de>,
L: Deserialize<'de>,
M: Deserialize<'de>,
N: Deserialize<'de>,
O: Deserialize<'de>,
P: 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, K: Display, L: Display, M: Display, N: Display, O: Display, P: Display> Display for Sum16<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P>
impl<A: Display, B: Display, C: Display, D: Display, E: Display, F: Display, G: Display, H: Display, I: Display, J: Display, K: Display, L: Display, M: Display, N: Display, O: Display, P: Display> Display for Sum16<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P>
source§impl<A: Error, B: Error, C: Error, D: Error, E: Error, F: Error, G: Error, H: Error, I: Error, J: Error, K: Error, L: Error, M: Error, N: Error, O: Error, P: Error> Error for Sum16<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P>
impl<A: Error, B: Error, C: Error, D: Error, E: Error, F: Error, G: Error, H: Error, I: Error, J: Error, K: Error, L: Error, M: Error, N: Error, O: Error, P: Error> Error for Sum16<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P>
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, K: Hash, L: Hash, M: Hash, N: Hash, O: Hash, P: Hash> Hash for Sum16<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P>
impl<A: Hash, B: Hash, C: Hash, D: Hash, E: Hash, F: Hash, G: Hash, H: Hash, I: Hash, J: Hash, K: Hash, L: Hash, M: Hash, N: Hash, O: Hash, P: Hash> Hash for Sum16<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P>
source§impl<A: Ord, B: Ord, C: Ord, D: Ord, E: Ord, F: Ord, G: Ord, H: Ord, I: Ord, J: Ord, K: Ord, L: Ord, M: Ord, N: Ord, O: Ord, P: Ord> Ord for Sum16<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P>
impl<A: Ord, B: Ord, C: Ord, D: Ord, E: Ord, F: Ord, G: Ord, H: Ord, I: Ord, J: Ord, K: Ord, L: Ord, M: Ord, N: Ord, O: Ord, P: Ord> Ord for Sum16<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P>
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, K: PartialEq, L: PartialEq, M: PartialEq, N: PartialEq, O: PartialEq, P: PartialEq> PartialEq<Sum16<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P>> for Sum16<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P>
impl<A: PartialEq, B: PartialEq, C: PartialEq, D: PartialEq, E: PartialEq, F: PartialEq, G: PartialEq, H: PartialEq, I: PartialEq, J: PartialEq, K: PartialEq, L: PartialEq, M: PartialEq, N: PartialEq, O: PartialEq, P: PartialEq> PartialEq<Sum16<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P>> for Sum16<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P>
source§impl<A: PartialOrd, B: PartialOrd, C: PartialOrd, D: PartialOrd, E: PartialOrd, F: PartialOrd, G: PartialOrd, H: PartialOrd, I: PartialOrd, J: PartialOrd, K: PartialOrd, L: PartialOrd, M: PartialOrd, N: PartialOrd, O: PartialOrd, P: PartialOrd> PartialOrd<Sum16<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P>> for Sum16<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P>
impl<A: PartialOrd, B: PartialOrd, C: PartialOrd, D: PartialOrd, E: PartialOrd, F: PartialOrd, G: PartialOrd, H: PartialOrd, I: PartialOrd, J: PartialOrd, K: PartialOrd, L: PartialOrd, M: PartialOrd, N: PartialOrd, O: PartialOrd, P: PartialOrd> PartialOrd<Sum16<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P>> for Sum16<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P>
source§fn partial_cmp(
&self,
other: &Sum16<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P>
) -> Option<Ordering>
fn partial_cmp(
&self,
other: &Sum16<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P>
) -> Option<Ordering>
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