pub trait FromMultiValue<'gc>: Sized {
    // Required method
    fn from_multi_value(
        ctx: Context<'gc>,
        values: impl Iterator<Item = Value<'gc>>,
    ) -> Result<Self, TypeError>;
}

Required Methods§

fn from_multi_value( ctx: Context<'gc>, values: impl Iterator<Item = Value<'gc>>, ) -> Result<Self, TypeError>

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

§

impl<'gc> FromMultiValue<'gc> for ()

§

fn from_multi_value( ctx: Context<'gc>, values: impl Iterator<Item = Value<'gc>>, ) -> Result<(), TypeError>

§

impl<'gc, A> FromMultiValue<'gc> for (A,)
where A: FromMultiValue<'gc>,

§

fn from_multi_value( ctx: Context<'gc>, values: impl Iterator<Item = Value<'gc>>, ) -> Result<(A,), TypeError>

§

impl<'gc, B, A> FromMultiValue<'gc> for (B, A)
where B: FromMultiValue<'gc>, A: FromMultiValue<'gc>,

§

fn from_multi_value( ctx: Context<'gc>, values: impl Iterator<Item = Value<'gc>>, ) -> Result<(B, A), TypeError>

§

impl<'gc, C, B, A> FromMultiValue<'gc> for (C, B, A)
where C: FromMultiValue<'gc>, B: FromMultiValue<'gc>, A: FromMultiValue<'gc>,

§

fn from_multi_value( ctx: Context<'gc>, values: impl Iterator<Item = Value<'gc>>, ) -> Result<(C, B, A), TypeError>

§

impl<'gc, D, C, B, A> FromMultiValue<'gc> for (D, C, B, A)
where D: FromMultiValue<'gc>, C: FromMultiValue<'gc>, B: FromMultiValue<'gc>, A: FromMultiValue<'gc>,

§

fn from_multi_value( ctx: Context<'gc>, values: impl Iterator<Item = Value<'gc>>, ) -> Result<(D, C, B, A), TypeError>

§

impl<'gc, E, D, C, B, A> FromMultiValue<'gc> for (E, D, C, B, A)
where E: FromMultiValue<'gc>, D: FromMultiValue<'gc>, C: FromMultiValue<'gc>, B: FromMultiValue<'gc>, A: FromMultiValue<'gc>,

§

fn from_multi_value( ctx: Context<'gc>, values: impl Iterator<Item = Value<'gc>>, ) -> Result<(E, D, C, B, A), TypeError>

§

impl<'gc, F, E, D, C, B, A> FromMultiValue<'gc> for (F, E, D, C, B, A)
where F: FromMultiValue<'gc>, E: FromMultiValue<'gc>, D: FromMultiValue<'gc>, C: FromMultiValue<'gc>, B: FromMultiValue<'gc>, A: FromMultiValue<'gc>,

§

fn from_multi_value( ctx: Context<'gc>, values: impl Iterator<Item = Value<'gc>>, ) -> Result<(F, E, D, C, B, A), TypeError>

§

impl<'gc, G, F, E, D, C, B, A> FromMultiValue<'gc> for (G, F, E, D, C, B, A)
where G: FromMultiValue<'gc>, F: FromMultiValue<'gc>, E: FromMultiValue<'gc>, D: FromMultiValue<'gc>, C: FromMultiValue<'gc>, B: FromMultiValue<'gc>, A: FromMultiValue<'gc>,

§

fn from_multi_value( ctx: Context<'gc>, values: impl Iterator<Item = Value<'gc>>, ) -> Result<(G, F, E, D, C, B, A), TypeError>

§

impl<'gc, H, G, F, E, D, C, B, A> FromMultiValue<'gc> for (H, G, F, E, D, C, B, A)
where H: FromMultiValue<'gc>, G: FromMultiValue<'gc>, F: FromMultiValue<'gc>, E: FromMultiValue<'gc>, D: FromMultiValue<'gc>, C: FromMultiValue<'gc>, B: FromMultiValue<'gc>, A: FromMultiValue<'gc>,

§

fn from_multi_value( ctx: Context<'gc>, values: impl Iterator<Item = Value<'gc>>, ) -> Result<(H, G, F, E, D, C, B, A), TypeError>

§

impl<'gc, I, H, G, F, E, D, C, B, A> FromMultiValue<'gc> for (I, H, G, F, E, D, C, B, A)
where I: FromMultiValue<'gc>, H: FromMultiValue<'gc>, G: FromMultiValue<'gc>, F: FromMultiValue<'gc>, E: FromMultiValue<'gc>, D: FromMultiValue<'gc>, C: FromMultiValue<'gc>, B: FromMultiValue<'gc>, A: FromMultiValue<'gc>,

§

fn from_multi_value( ctx: Context<'gc>, values: impl Iterator<Item = Value<'gc>>, ) -> Result<(I, H, G, F, E, D, C, B, A), TypeError>

§

impl<'gc, J, I, H, G, F, E, D, C, B, A> FromMultiValue<'gc> for (J, I, H, G, F, E, D, C, B, A)
where J: FromMultiValue<'gc>, I: FromMultiValue<'gc>, H: FromMultiValue<'gc>, G: FromMultiValue<'gc>, F: FromMultiValue<'gc>, E: FromMultiValue<'gc>, D: FromMultiValue<'gc>, C: FromMultiValue<'gc>, B: FromMultiValue<'gc>, A: FromMultiValue<'gc>,

§

impl<'gc, K, J, I, H, G, F, E, D, C, B, A> FromMultiValue<'gc> for (K, J, I, H, G, F, E, D, C, B, A)
where K: FromMultiValue<'gc>, J: FromMultiValue<'gc>, I: FromMultiValue<'gc>, H: FromMultiValue<'gc>, G: FromMultiValue<'gc>, F: FromMultiValue<'gc>, E: FromMultiValue<'gc>, D: FromMultiValue<'gc>, C: FromMultiValue<'gc>, B: FromMultiValue<'gc>, A: FromMultiValue<'gc>,

§

impl<'gc, L, K, J, I, H, G, F, E, D, C, B, A> FromMultiValue<'gc> for (L, K, J, I, H, G, F, E, D, C, B, A)
where L: FromMultiValue<'gc>, K: FromMultiValue<'gc>, J: FromMultiValue<'gc>, I: FromMultiValue<'gc>, H: FromMultiValue<'gc>, G: FromMultiValue<'gc>, F: FromMultiValue<'gc>, E: FromMultiValue<'gc>, D: FromMultiValue<'gc>, C: FromMultiValue<'gc>, B: FromMultiValue<'gc>, A: FromMultiValue<'gc>,

§

impl<'gc, M, L, K, J, I, H, G, F, E, D, C, B, A> FromMultiValue<'gc> for (M, L, K, J, I, H, G, F, E, D, C, B, A)
where M: FromMultiValue<'gc>, L: FromMultiValue<'gc>, K: FromMultiValue<'gc>, J: FromMultiValue<'gc>, I: FromMultiValue<'gc>, H: FromMultiValue<'gc>, G: FromMultiValue<'gc>, F: FromMultiValue<'gc>, E: FromMultiValue<'gc>, D: FromMultiValue<'gc>, C: FromMultiValue<'gc>, B: FromMultiValue<'gc>, A: FromMultiValue<'gc>,

§

impl<'gc, N, M, L, K, J, I, H, G, F, E, D, C, B, A> FromMultiValue<'gc> for (N, M, L, K, J, I, H, G, F, E, D, C, B, A)
where N: FromMultiValue<'gc>, M: FromMultiValue<'gc>, L: FromMultiValue<'gc>, K: FromMultiValue<'gc>, J: FromMultiValue<'gc>, I: FromMultiValue<'gc>, H: FromMultiValue<'gc>, G: FromMultiValue<'gc>, F: FromMultiValue<'gc>, E: FromMultiValue<'gc>, D: FromMultiValue<'gc>, C: FromMultiValue<'gc>, B: FromMultiValue<'gc>, A: FromMultiValue<'gc>,

§

impl<'gc, O, N, M, L, K, J, I, H, G, F, E, D, C, B, A> FromMultiValue<'gc> for (O, N, M, L, K, J, I, H, G, F, E, D, C, B, A)
where O: FromMultiValue<'gc>, N: FromMultiValue<'gc>, M: FromMultiValue<'gc>, L: FromMultiValue<'gc>, K: FromMultiValue<'gc>, J: FromMultiValue<'gc>, I: FromMultiValue<'gc>, H: FromMultiValue<'gc>, G: FromMultiValue<'gc>, F: FromMultiValue<'gc>, E: FromMultiValue<'gc>, D: FromMultiValue<'gc>, C: FromMultiValue<'gc>, B: FromMultiValue<'gc>, A: FromMultiValue<'gc>,

§

impl<'gc, P, O, N, M, L, K, J, I, H, G, F, E, D, C, B, A> FromMultiValue<'gc> for (P, O, N, M, L, K, J, I, H, G, F, E, D, C, B, A)
where P: FromMultiValue<'gc>, O: FromMultiValue<'gc>, N: FromMultiValue<'gc>, M: FromMultiValue<'gc>, L: FromMultiValue<'gc>, K: FromMultiValue<'gc>, J: FromMultiValue<'gc>, I: FromMultiValue<'gc>, H: FromMultiValue<'gc>, G: FromMultiValue<'gc>, F: FromMultiValue<'gc>, E: FromMultiValue<'gc>, D: FromMultiValue<'gc>, C: FromMultiValue<'gc>, B: FromMultiValue<'gc>, A: FromMultiValue<'gc>,

Implementors§

§

impl<'gc, I> FromMultiValue<'gc> for Variadic<Vec<I>>
where I: FromValue<'gc>,

§

impl<'gc, I, const N: usize> FromMultiValue<'gc> for Variadic<[I; N]>
where I: FromValue<'gc>,

§

impl<'gc, T> FromMultiValue<'gc> for T
where T: FromValue<'gc>,