JsTuple in js_sys - Rust (original) (raw)

Skip to main content

js_sys0.3.91

pub trait JsTuple {
    const ARITY: usize;
}

Expand description

Base trait for tuple types.

Required Associated Constants§

Source

const ARITY: usize

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl JsTuple for (T1,)

Source§

const ARITY: usize = 1

Source§

impl<T1, T2> JsTuple for (T1, T2)

Source§

const ARITY: usize = 2

Source§

impl<T1, T2, T3> JsTuple for (T1, T2, T3)

Source§

const ARITY: usize = 3

Source§

impl<T1, T2, T3, T4> JsTuple for (T1, T2, T3, T4)

Source§

const ARITY: usize = 4

Source§

impl<T1, T2, T3, T4, T5> JsTuple for (T1, T2, T3, T4, T5)

Source§

const ARITY: usize = 5

Source§

impl<T1, T2, T3, T4, T5, T6> JsTuple for (T1, T2, T3, T4, T5, T6)

Source§

const ARITY: usize = 6

Source§

impl<T1, T2, T3, T4, T5, T6, T7> JsTuple for (T1, T2, T3, T4, T5, T6, T7)

Source§

const ARITY: usize = 7

Source§

impl<T1, T2, T3, T4, T5, T6, T7, T8> JsTuple for (T1, T2, T3, T4, T5, T6, T7, T8)

Source§

const ARITY: usize = 8

Implementors§