Struct runestick::VecTuple[][src]

pub struct VecTuple<T>(pub T);

A helper type to deserialize arrays with different interior types.

This implements FromValue, allowing it to be used as a return value from a virtual machine.

Implementations

impl<T> VecTuple<T> where
    Self: ToValue
[src]

pub fn new(inner: T) -> Self[src]

Construct a new vector tuple for serializing values.

Trait Implementations

impl<T: Clone> Clone for VecTuple<T>[src]

impl<T: Copy> Copy for VecTuple<T>[src]

impl<T: Debug> Debug for VecTuple<T>[src]

impl<T: Eq> Eq for VecTuple<T>[src]

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P> FromValue for VecTuple<(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P)> where
    A: FromValue,
    B: FromValue,
    C: FromValue,
    D: FromValue,
    E: FromValue,
    F: FromValue,
    G: FromValue,
    H: FromValue,
    I: FromValue,
    J: FromValue,
    K: FromValue,
    L: FromValue,
    M: FromValue,
    N: FromValue,
    O: FromValue,
    P: FromValue
[src]

impl<B, C, D, E, F, G, H, I, J, K, L, M, N, O, P> FromValue for VecTuple<(B, C, D, E, F, G, H, I, J, K, L, M, N, O, P)> where
    B: FromValue,
    C: FromValue,
    D: FromValue,
    E: FromValue,
    F: FromValue,
    G: FromValue,
    H: FromValue,
    I: FromValue,
    J: FromValue,
    K: FromValue,
    L: FromValue,
    M: FromValue,
    N: FromValue,
    O: FromValue,
    P: FromValue
[src]

impl<K, L, M, N, O, P> FromValue for VecTuple<(K, L, M, N, O, P)> where
    K: FromValue,
    L: FromValue,
    M: FromValue,
    N: FromValue,
    O: FromValue,
    P: FromValue
[src]

impl<L, M, N, O, P> FromValue for VecTuple<(L, M, N, O, P)> where
    L: FromValue,
    M: FromValue,
    N: FromValue,
    O: FromValue,
    P: FromValue
[src]

impl<M, N, O, P> FromValue for VecTuple<(M, N, O, P)> where
    M: FromValue,
    N: FromValue,
    O: FromValue,
    P: FromValue
[src]

impl<N, O, P> FromValue for VecTuple<(N, O, P)> where
    N: FromValue,
    O: FromValue,
    P: FromValue
[src]

impl<O, P> FromValue for VecTuple<(O, P)> where
    O: FromValue,
    P: FromValue
[src]

impl<P> FromValue for VecTuple<(P,)> where
    P: FromValue
[src]

impl<C, D, E, F, G, H, I, J, K, L, M, N, O, P> FromValue for VecTuple<(C, D, E, F, G, H, I, J, K, L, M, N, O, P)> where
    C: FromValue,
    D: FromValue,
    E: FromValue,
    F: FromValue,
    G: FromValue,
    H: FromValue,
    I: FromValue,
    J: FromValue,
    K: FromValue,
    L: FromValue,
    M: FromValue,
    N: FromValue,
    O: FromValue,
    P: FromValue
[src]

impl<D, E, F, G, H, I, J, K, L, M, N, O, P> FromValue for VecTuple<(D, E, F, G, H, I, J, K, L, M, N, O, P)> where
    D: FromValue,
    E: FromValue,
    F: FromValue,
    G: FromValue,
    H: FromValue,
    I: FromValue,
    J: FromValue,
    K: FromValue,
    L: FromValue,
    M: FromValue,
    N: FromValue,
    O: FromValue,
    P: FromValue
[src]

impl<E, F, G, H, I, J, K, L, M, N, O, P> FromValue for VecTuple<(E, F, G, H, I, J, K, L, M, N, O, P)> where
    E: FromValue,
    F: FromValue,
    G: FromValue,
    H: FromValue,
    I: FromValue,
    J: FromValue,
    K: FromValue,
    L: FromValue,
    M: FromValue,
    N: FromValue,
    O: FromValue,
    P: FromValue
[src]

impl<F, G, H, I, J, K, L, M, N, O, P> FromValue for VecTuple<(F, G, H, I, J, K, L, M, N, O, P)> where
    F: FromValue,
    G: FromValue,
    H: FromValue,
    I: FromValue,
    J: FromValue,
    K: FromValue,
    L: FromValue,
    M: FromValue,
    N: FromValue,
    O: FromValue,
    P: FromValue
[src]

impl<G, H, I, J, K, L, M, N, O, P> FromValue for VecTuple<(G, H, I, J, K, L, M, N, O, P)> where
    G: FromValue,
    H: FromValue,
    I: FromValue,
    J: FromValue,
    K: FromValue,
    L: FromValue,
    M: FromValue,
    N: FromValue,
    O: FromValue,
    P: FromValue
[src]

impl<H, I, J, K, L, M, N, O, P> FromValue for VecTuple<(H, I, J, K, L, M, N, O, P)> where
    H: FromValue,
    I: FromValue,
    J: FromValue,
    K: FromValue,
    L: FromValue,
    M: FromValue,
    N: FromValue,
    O: FromValue,
    P: FromValue
[src]

impl<I, J, K, L, M, N, O, P> FromValue for VecTuple<(I, J, K, L, M, N, O, P)> where
    I: FromValue,
    J: FromValue,
    K: FromValue,
    L: FromValue,
    M: FromValue,
    N: FromValue,
    O: FromValue,
    P: FromValue
[src]

impl<J, K, L, M, N, O, P> FromValue for VecTuple<(J, K, L, M, N, O, P)> where
    J: FromValue,
    K: FromValue,
    L: FromValue,
    M: FromValue,
    N: FromValue,
    O: FromValue,
    P: FromValue
[src]

impl<T: Hash> Hash for VecTuple<T>[src]

impl<T: Ord> Ord for VecTuple<T>[src]

impl<T: PartialEq> PartialEq<VecTuple<T>> for VecTuple<T>[src]

impl<T: PartialOrd> PartialOrd<VecTuple<T>> for VecTuple<T>[src]

impl<T> StructuralEq for VecTuple<T>[src]

impl<T> StructuralPartialEq for VecTuple<T>[src]

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P> ToValue for VecTuple<(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P)> where
    A: ToValue,
    B: ToValue,
    C: ToValue,
    D: ToValue,
    E: ToValue,
    F: ToValue,
    G: ToValue,
    H: ToValue,
    I: ToValue,
    J: ToValue,
    K: ToValue,
    L: ToValue,
    M: ToValue,
    N: ToValue,
    O: ToValue,
    P: ToValue
[src]

impl<B, C, D, E, F, G, H, I, J, K, L, M, N, O, P> ToValue for VecTuple<(B, C, D, E, F, G, H, I, J, K, L, M, N, O, P)> where
    B: ToValue,
    C: ToValue,
    D: ToValue,
    E: ToValue,
    F: ToValue,
    G: ToValue,
    H: ToValue,
    I: ToValue,
    J: ToValue,
    K: ToValue,
    L: ToValue,
    M: ToValue,
    N: ToValue,
    O: ToValue,
    P: ToValue
[src]

impl<K, L, M, N, O, P> ToValue for VecTuple<(K, L, M, N, O, P)> where
    K: ToValue,
    L: ToValue,
    M: ToValue,
    N: ToValue,
    O: ToValue,
    P: ToValue
[src]

impl<L, M, N, O, P> ToValue for VecTuple<(L, M, N, O, P)> where
    L: ToValue,
    M: ToValue,
    N: ToValue,
    O: ToValue,
    P: ToValue
[src]

impl<M, N, O, P> ToValue for VecTuple<(M, N, O, P)> where
    M: ToValue,
    N: ToValue,
    O: ToValue,
    P: ToValue
[src]

impl<N, O, P> ToValue for VecTuple<(N, O, P)> where
    N: ToValue,
    O: ToValue,
    P: ToValue
[src]

impl<O, P> ToValue for VecTuple<(O, P)> where
    O: ToValue,
    P: ToValue
[src]

impl<P> ToValue for VecTuple<(P,)> where
    P: ToValue
[src]

impl<C, D, E, F, G, H, I, J, K, L, M, N, O, P> ToValue for VecTuple<(C, D, E, F, G, H, I, J, K, L, M, N, O, P)> where
    C: ToValue,
    D: ToValue,
    E: ToValue,
    F: ToValue,
    G: ToValue,
    H: ToValue,
    I: ToValue,
    J: ToValue,
    K: ToValue,
    L: ToValue,
    M: ToValue,
    N: ToValue,
    O: ToValue,
    P: ToValue
[src]

impl<D, E, F, G, H, I, J, K, L, M, N, O, P> ToValue for VecTuple<(D, E, F, G, H, I, J, K, L, M, N, O, P)> where
    D: ToValue,
    E: ToValue,
    F: ToValue,
    G: ToValue,
    H: ToValue,
    I: ToValue,
    J: ToValue,
    K: ToValue,
    L: ToValue,
    M: ToValue,
    N: ToValue,
    O: ToValue,
    P: ToValue
[src]

impl<E, F, G, H, I, J, K, L, M, N, O, P> ToValue for VecTuple<(E, F, G, H, I, J, K, L, M, N, O, P)> where
    E: ToValue,
    F: ToValue,
    G: ToValue,
    H: ToValue,
    I: ToValue,
    J: ToValue,
    K: ToValue,
    L: ToValue,
    M: ToValue,
    N: ToValue,
    O: ToValue,
    P: ToValue
[src]

impl<F, G, H, I, J, K, L, M, N, O, P> ToValue for VecTuple<(F, G, H, I, J, K, L, M, N, O, P)> where
    F: ToValue,
    G: ToValue,
    H: ToValue,
    I: ToValue,
    J: ToValue,
    K: ToValue,
    L: ToValue,
    M: ToValue,
    N: ToValue,
    O: ToValue,
    P: ToValue
[src]

impl<G, H, I, J, K, L, M, N, O, P> ToValue for VecTuple<(G, H, I, J, K, L, M, N, O, P)> where
    G: ToValue,
    H: ToValue,
    I: ToValue,
    J: ToValue,
    K: ToValue,
    L: ToValue,
    M: ToValue,
    N: ToValue,
    O: ToValue,
    P: ToValue
[src]

impl<H, I, J, K, L, M, N, O, P> ToValue for VecTuple<(H, I, J, K, L, M, N, O, P)> where
    H: ToValue,
    I: ToValue,
    J: ToValue,
    K: ToValue,
    L: ToValue,
    M: ToValue,
    N: ToValue,
    O: ToValue,
    P: ToValue
[src]

impl<I, J, K, L, M, N, O, P> ToValue for VecTuple<(I, J, K, L, M, N, O, P)> where
    I: ToValue,
    J: ToValue,
    K: ToValue,
    L: ToValue,
    M: ToValue,
    N: ToValue,
    O: ToValue,
    P: ToValue
[src]

impl<J, K, L, M, N, O, P> ToValue for VecTuple<(J, K, L, M, N, O, P)> where
    J: ToValue,
    K: ToValue,
    L: ToValue,
    M: ToValue,
    N: ToValue,
    O: ToValue,
    P: ToValue
[src]

impl<T> TypeOf for VecTuple<T>[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for VecTuple<T> where
    T: RefUnwindSafe

impl<T> Send for VecTuple<T> where
    T: Send

impl<T> Sync for VecTuple<T> where
    T: Sync

impl<T> Unpin for VecTuple<T> where
    T: Unpin

impl<T> UnwindSafe for VecTuple<T> where
    T: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> CallHasher for T where
    T: Hash

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.