pub struct MultiValue12<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>(pub (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11));
Tuple Fields§
§0: (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)
Implementations§
Source§impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> MultiValue12<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>
impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> MultiValue12<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>
pub fn into_tuple(self) -> (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)
Trait Implementations§
Source§impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> Clone for MultiValue12<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>
impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> Clone for MultiValue12<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>
Source§fn clone(
&self,
) -> MultiValue12<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>
fn clone( &self, ) -> MultiValue12<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>
Returns a copy 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<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 MultiValue12<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>
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 MultiValue12<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>
Source§fn from(
tuple: (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11),
) -> MultiValue12<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>
fn from( tuple: (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11), ) -> MultiValue12<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>
Converts to this type from the input type.
Source§impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> TopDecodeMulti for MultiValue12<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>where
T0: TopDecodeMulti,
T1: TopDecodeMulti,
T2: TopDecodeMulti,
T3: TopDecodeMulti,
T4: TopDecodeMulti,
T5: TopDecodeMulti,
T6: TopDecodeMulti,
T7: TopDecodeMulti,
T8: TopDecodeMulti,
T9: TopDecodeMulti,
T10: TopDecodeMulti,
T11: TopDecodeMulti,
impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> TopDecodeMulti for MultiValue12<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>where
T0: TopDecodeMulti,
T1: TopDecodeMulti,
T2: TopDecodeMulti,
T3: TopDecodeMulti,
T4: TopDecodeMulti,
T5: TopDecodeMulti,
T6: TopDecodeMulti,
T7: TopDecodeMulti,
T8: TopDecodeMulti,
T9: TopDecodeMulti,
T10: TopDecodeMulti,
T11: TopDecodeMulti,
fn multi_decode_or_handle_err<I, H>(
input: &mut I,
h: H,
) -> Result<MultiValue12<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>, <H as DecodeErrorHandler>::HandledErr>where
I: TopDecodeMultiInput,
H: DecodeErrorHandler,
Source§const IS_SINGLE_VALUE: bool = false
const IS_SINGLE_VALUE: bool = false
Used to optimize single value loading of endpoint arguments.
fn multi_decode<I>(input: &mut I) -> Result<Self, DecodeError>where
I: TopDecodeMultiInput,
Source§impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> TopDecodeMultiLength for MultiValue12<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>where
T0: TopDecodeMulti + TopDecodeMultiLength,
T1: TopDecodeMulti + TopDecodeMultiLength,
T2: TopDecodeMulti + TopDecodeMultiLength,
T3: TopDecodeMulti + TopDecodeMultiLength,
T4: TopDecodeMulti + TopDecodeMultiLength,
T5: TopDecodeMulti + TopDecodeMultiLength,
T6: TopDecodeMulti + TopDecodeMultiLength,
T7: TopDecodeMulti + TopDecodeMultiLength,
T8: TopDecodeMulti + TopDecodeMultiLength,
T9: TopDecodeMulti + TopDecodeMultiLength,
T10: TopDecodeMulti + TopDecodeMultiLength,
T11: TopDecodeMulti + TopDecodeMultiLength,
impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> TopDecodeMultiLength for MultiValue12<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>where
T0: TopDecodeMulti + TopDecodeMultiLength,
T1: TopDecodeMulti + TopDecodeMultiLength,
T2: TopDecodeMulti + TopDecodeMultiLength,
T3: TopDecodeMulti + TopDecodeMultiLength,
T4: TopDecodeMulti + TopDecodeMultiLength,
T5: TopDecodeMulti + TopDecodeMultiLength,
T6: TopDecodeMulti + TopDecodeMultiLength,
T7: TopDecodeMulti + TopDecodeMultiLength,
T8: TopDecodeMulti + TopDecodeMultiLength,
T9: TopDecodeMulti + TopDecodeMultiLength,
T10: TopDecodeMulti + TopDecodeMultiLength,
T11: TopDecodeMulti + TopDecodeMultiLength,
Source§impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> TopEncodeMulti for MultiValue12<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>where
T0: TopEncodeMulti,
T1: TopEncodeMulti,
T2: TopEncodeMulti,
T3: TopEncodeMulti,
T4: TopEncodeMulti,
T5: TopEncodeMulti,
T6: TopEncodeMulti,
T7: TopEncodeMulti,
T8: TopEncodeMulti,
T9: TopEncodeMulti,
T10: TopEncodeMulti,
T11: TopEncodeMulti,
impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> TopEncodeMulti for MultiValue12<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>where
T0: TopEncodeMulti,
T1: TopEncodeMulti,
T2: TopEncodeMulti,
T3: TopEncodeMulti,
T4: TopEncodeMulti,
T5: TopEncodeMulti,
T6: TopEncodeMulti,
T7: TopEncodeMulti,
T8: TopEncodeMulti,
T9: TopEncodeMulti,
T10: TopEncodeMulti,
T11: TopEncodeMulti,
Source§fn multi_encode_or_handle_err<O, H>(
&self,
output: &mut O,
h: H,
) -> Result<(), <H as EncodeErrorHandler>::HandledErr>where
O: TopEncodeMultiOutput,
H: EncodeErrorHandler,
fn multi_encode_or_handle_err<O, H>(
&self,
output: &mut O,
h: H,
) -> Result<(), <H as EncodeErrorHandler>::HandledErr>where
O: TopEncodeMultiOutput,
H: EncodeErrorHandler,
Version of
top_encode
that can handle errors as soon as they occur.
For instance in can exit immediately and make sure that if it returns, it is a success.
By not deferring error handling, this can lead to somewhat smaller bytecode.Source§fn multi_encode<O>(&self, output: &mut O) -> Result<(), EncodeError>where
O: TopEncodeMultiOutput,
fn multi_encode<O>(&self, output: &mut O) -> Result<(), EncodeError>where
O: TopEncodeMultiOutput,
Attempt to serialize the value to ouput.
Source§impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> TypeAbi for MultiValue12<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>
impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> TypeAbi for MultiValue12<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>
type Unmanaged = MultiValue12<<T0 as TypeAbi>::Unmanaged, <T1 as TypeAbi>::Unmanaged, <T2 as TypeAbi>::Unmanaged, <T3 as TypeAbi>::Unmanaged, <T4 as TypeAbi>::Unmanaged, <T5 as TypeAbi>::Unmanaged, <T6 as TypeAbi>::Unmanaged, <T7 as TypeAbi>::Unmanaged, <T8 as TypeAbi>::Unmanaged, <T9 as TypeAbi>::Unmanaged, <T10 as TypeAbi>::Unmanaged, <T11 as TypeAbi>::Unmanaged>
fn type_name() -> TypeName
fn type_name_rust() -> TypeName
Source§fn provide_type_descriptions<TDC: TypeDescriptionContainer>(
accumulator: &mut TDC,
)
fn provide_type_descriptions<TDC: TypeDescriptionContainer>( accumulator: &mut TDC, )
A type can provide more than its own name.
For instance, a struct can also provide the descriptions of the type of its fields.
TypeAbi doesn’t care for the exact accumulator type,
which is abstracted by the TypeDescriptionContainer trait.
fn type_names() -> TypeNames
impl<T0, U0, T1, U1, T2, U2, T3, U3, T4, U4, T5, U5, T6, U6, T7, U7, T8, U8, T9, U9, T10, U10, T11, U11> TypeAbiFrom<MultiValue12<U0, U1, U2, U3, U4, U5, U6, U7, U8, U9, U10, U11>> for MultiValue12<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>where
T0: TypeAbiFrom<U0>,
T1: TypeAbiFrom<U1>,
T2: TypeAbiFrom<U2>,
T3: TypeAbiFrom<U3>,
T4: TypeAbiFrom<U4>,
T5: TypeAbiFrom<U5>,
T6: TypeAbiFrom<U6>,
T7: TypeAbiFrom<U7>,
T8: TypeAbiFrom<U8>,
T9: TypeAbiFrom<U9>,
T10: TypeAbiFrom<U10>,
T11: TypeAbiFrom<U11>,
Auto Trait Implementations§
impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> Freeze for MultiValue12<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>
impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> RefUnwindSafe for MultiValue12<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>where
T0: RefUnwindSafe,
T1: RefUnwindSafe,
T2: RefUnwindSafe,
T3: RefUnwindSafe,
T4: RefUnwindSafe,
T5: RefUnwindSafe,
T6: RefUnwindSafe,
T7: RefUnwindSafe,
T8: RefUnwindSafe,
T9: RefUnwindSafe,
T10: RefUnwindSafe,
T11: RefUnwindSafe,
impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> Send for MultiValue12<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>
impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> Sync for MultiValue12<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>
impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> Unpin for MultiValue12<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>
impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> UnwindSafe for MultiValue12<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>where
T0: UnwindSafe,
T1: UnwindSafe,
T2: UnwindSafe,
T3: UnwindSafe,
T4: UnwindSafe,
T5: UnwindSafe,
T6: UnwindSafe,
T7: UnwindSafe,
T8: UnwindSafe,
T9: UnwindSafe,
T10: UnwindSafe,
T11: UnwindSafe,
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