#[non_exhaustive]pub enum ValueTuple {
One(Value),
Two(Value, Value),
Three(Value, Value, Value),
Many(Vec<Value>),
}
Variants (Non-exhaustive)ยง
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Implementationsยง
Trait Implementationsยง
Sourceยงimpl Clone for ValueTuple
impl Clone for ValueTuple
Sourceยงfn clone(&self) -> ValueTuple
fn clone(&self) -> ValueTuple
Returns a duplicate of the value. Read more
1.0.0 ยท Sourceยงfn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSourceยงimpl Debug for ValueTuple
impl Debug for ValueTuple
Sourceยงimpl<T0, T1, T2, T3> From<(T0, T1, T2, T3)> for ValueTuple
impl<T0, T1, T2, T3> From<(T0, T1, T2, T3)> for ValueTuple
Sourceยงfn from(value: (T0, T1, T2, T3)) -> Self
fn from(value: (T0, T1, T2, T3)) -> Self
Converts to this type from the input type.
Sourceยงimpl<T0, T1, T2, T3, T4> From<(T0, T1, T2, T3, T4)> for ValueTuple
impl<T0, T1, T2, T3, T4> From<(T0, T1, T2, T3, T4)> for ValueTuple
Sourceยงfn from(value: (T0, T1, T2, T3, T4)) -> Self
fn from(value: (T0, T1, T2, T3, T4)) -> Self
Converts to this type from the input type.
Sourceยงimpl<T0, T1, T2, T3, T4, T5> From<(T0, T1, T2, T3, T4, T5)> for ValueTuple
impl<T0, T1, T2, T3, T4, T5> From<(T0, T1, T2, T3, T4, T5)> for ValueTuple
Sourceยงfn from(value: (T0, T1, T2, T3, T4, T5)) -> Self
fn from(value: (T0, T1, T2, T3, T4, T5)) -> Self
Converts to this type from the input type.
Sourceยงimpl<T0, T1, T2, T3, T4, T5, T6> From<(T0, T1, T2, T3, T4, T5, T6)> for ValueTuple
impl<T0, T1, T2, T3, T4, T5, T6> From<(T0, T1, T2, T3, T4, T5, T6)> for ValueTuple
Sourceยงfn from(value: (T0, T1, T2, T3, T4, T5, T6)) -> Self
fn from(value: (T0, T1, T2, T3, T4, T5, T6)) -> Self
Converts to this type from the input type.
Sourceยงimpl<T0, T1, T2, T3, T4, T5, T6, T7> From<(T0, T1, T2, T3, T4, T5, T6, T7)> for ValueTuple
impl<T0, T1, T2, T3, T4, T5, T6, T7> From<(T0, T1, T2, T3, T4, T5, T6, T7)> for ValueTuple
Sourceยงfn from(value: (T0, T1, T2, T3, T4, T5, T6, T7)) -> Self
fn from(value: (T0, T1, T2, T3, T4, T5, T6, T7)) -> Self
Converts to this type from the input type.
Sourceยงimpl<T0, T1, T2, T3, T4, T5, T6, T7, T8> From<(T0, T1, T2, T3, T4, T5, T6, T7, T8)> for ValueTuple
impl<T0, T1, T2, T3, T4, T5, T6, T7, T8> From<(T0, T1, T2, T3, T4, T5, T6, T7, T8)> for ValueTuple
Sourceยงfn from(value: (T0, T1, T2, T3, T4, T5, T6, T7, T8)) -> Self
fn from(value: (T0, T1, T2, T3, T4, T5, T6, T7, T8)) -> Self
Converts to this type from the input type.
Sourceยงimpl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9> From<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9)> for ValueTuple
impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9> From<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9)> for ValueTuple
Sourceยงfn from(value: (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9)) -> Self
fn from(value: (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9)) -> Self
Converts to this type from the input type.
Sourceยงimpl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> From<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)> for ValueTuple
impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> From<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)> for ValueTuple
Sourceยงfn from(value: (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)) -> Self
fn from(value: (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)) -> Self
Converts to this type from the input type.
Sourceยงimpl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> From<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)> for ValueTuple
impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> From<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)> for ValueTuple
Sourceยงfn from(value: (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)) -> Self
fn from(value: (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)) -> Self
Converts to this type from the input type.
Sourceยงimpl<U, V, W> From<(U, V, W)> for ValueTuple
impl<U, V, W> From<(U, V, W)> for ValueTuple
Sourceยงimpl<V, W> From<(V, W)> for ValueTuple
impl<V, W> From<(V, W)> for ValueTuple
Sourceยงimpl<V> From<V> for ValueTuple
impl<V> From<V> for ValueTuple
Sourceยงimpl Hash for ValueTuple
impl Hash for ValueTuple
Sourceยงimpl IntoIterator for ValueTuple
impl IntoIterator for ValueTuple
Sourceยงimpl PartialEq for ValueTuple
impl PartialEq for ValueTuple
impl Eq for ValueTuple
impl StructuralPartialEq for ValueTuple
Auto Trait Implementationsยง
impl Freeze for ValueTuple
impl RefUnwindSafe for ValueTuple
impl Send for ValueTuple
impl Sync for ValueTuple
impl Unpin for ValueTuple
impl UnwindSafe for ValueTuple
Blanket Implementationsยง
Sourceยงimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Sourceยงfn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more