Trait tealr::TealMultiValue

source ·
pub trait TealMultiValue {
    // Required method
    fn get_types_as_params() -> Vec<FunctionParam>;

    // Provided method
    fn get_types() -> Vec<Type> { ... }
}
Expand description

A collection of TealValues.

It is implemented by various tuples so they can be used

Required Methods§

source

fn get_types_as_params() -> Vec<FunctionParam>

Gets the type representations as used for function parameters

Provided Methods§

source

fn get_types() -> Vec<Type>

Gets the types contained in this collection. Order IS important.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl TealMultiValue for ()

source§

impl<A> TealMultiValue for (A,)
where A: ToTypename,

source§

impl<A, B> TealMultiValue for (A, B)
where A: ToTypename, B: ToTypename,

source§

impl<A, B, C> TealMultiValue for (A, B, C)
where A: ToTypename, B: ToTypename, C: ToTypename,

source§

impl<A, B, C, D> TealMultiValue for (A, B, C, D)

source§

impl<A, B, C, D, E> TealMultiValue for (A, B, C, D, E)

source§

impl<A, B, C, D, E, F> TealMultiValue for (A, B, C, D, E, F)

source§

impl<A, B, C, D, E, F, G> TealMultiValue for (A, B, C, D, E, F, G)

source§

impl<A, B, C, D, E, F, G, H> TealMultiValue for (A, B, C, D, E, F, G, H)

source§

impl<A, B, C, D, E, F, G, H, I> TealMultiValue for (A, B, C, D, E, F, G, H, I)

source§

impl<A, B, C, D, E, F, G, H, I, J> TealMultiValue for (A, B, C, D, E, F, G, H, I, J)

source§

impl<A, B, C, D, E, F, G, H, I, J, K> TealMultiValue for (A, B, C, D, E, F, G, H, I, J, K)

source§

impl<A, B, C, D, E, F, G, H, I, J, K, L> TealMultiValue for (A, B, C, D, E, F, G, H, I, J, K, L)

source§

impl<A, B, C, D, E, F, G, H, I, J, K, L, M> TealMultiValue for (A, B, C, D, E, F, G, H, I, J, K, L, M)

source§

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N> TealMultiValue for (A, B, C, D, E, F, G, H, I, J, K, L, M, N)

source§

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O> TealMultiValue for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O)

source§

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P> TealMultiValue for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P)

Implementors§

source§

impl<A> TealMultiValue for A
where A: ToTypename,