Trait ExtensionArrayToTuple

Source
pub trait ExtensionArrayToTuple {
    type Tuple;

    // Required methods
    fn to_tuple(self) -> Self::Tuple;
    fn from_tuple(value: Self::Tuple) -> Self;
}

Required Associated Types§

Required Methods§

Source

fn to_tuple(self) -> Self::Tuple

Source

fn from_tuple(value: Self::Tuple) -> Self

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<T> ExtensionArrayToTuple for [T; 0]

Source§

type Tuple = ()

Source§

fn to_tuple(self) -> Self::Tuple

Source§

fn from_tuple(_: Self::Tuple) -> Self

Source§

impl<T> ExtensionArrayToTuple for [T; 1]

Source§

type Tuple = (T,)

Source§

fn to_tuple(self) -> Self::Tuple

Source§

fn from_tuple(t: Self::Tuple) -> Self

Source§

impl<T> ExtensionArrayToTuple for [T; 2]

Source§

type Tuple = (T, T)

Source§

fn to_tuple(self) -> Self::Tuple

Source§

fn from_tuple(t: Self::Tuple) -> Self

Source§

impl<T> ExtensionArrayToTuple for [T; 3]

Source§

type Tuple = (T, T, T)

Source§

fn to_tuple(self) -> Self::Tuple

Source§

fn from_tuple(t: Self::Tuple) -> Self

Source§

impl<T> ExtensionArrayToTuple for [T; 4]

Source§

type Tuple = (T, T, T, T)

Source§

fn to_tuple(self) -> Self::Tuple

Source§

fn from_tuple(t: Self::Tuple) -> Self

Source§

impl<T> ExtensionArrayToTuple for [T; 5]

Source§

type Tuple = (T, T, T, T, T)

Source§

fn to_tuple(self) -> Self::Tuple

Source§

fn from_tuple(t: Self::Tuple) -> Self

Source§

impl<T> ExtensionArrayToTuple for [T; 6]

Source§

impl<T> ExtensionArrayToTuple for [T; 7]

Source§

impl<T> ExtensionArrayToTuple for [T; 8]

Implementors§