Trait MultiValueConstLength

Source
pub trait MultiValueConstLength {
    const MULTI_VALUE_CONST_LEN: usize;
}
Expand description

Indicates that a multi-value has a fixed (constant) number of single items contained.

This applies to:

  • single items
  • multi-value tuples

Required Associated Constants§

Source

const MULTI_VALUE_CONST_LEN: usize

The fixed (constant) number of single items contained a multi-value.

Its value is:

  • for single items: 1,
  • for multi-value tuples: the sum of the fixed lengths of their items, if applicable.

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.

Implementors§

Source§

impl<T0, T1> MultiValueConstLength for MultiValue2<T0, T1>

Source§

impl<T0, T1, T2> MultiValueConstLength for MultiValue3<T0, T1, T2>

Source§

impl<T0, T1, T2, T3> MultiValueConstLength for MultiValue4<T0, T1, T2, T3>

Source§

impl<T0, T1, T2, T3, T4> MultiValueConstLength for MultiValue5<T0, T1, T2, T3, T4>

Source§

impl<T0, T1, T2, T3, T4, T5> MultiValueConstLength for MultiValue6<T0, T1, T2, T3, T4, T5>

Source§

impl<T0, T1, T2, T3, T4, T5, T6> MultiValueConstLength for MultiValue7<T0, T1, T2, T3, T4, T5, T6>

Source§

impl<T0, T1, T2, T3, T4, T5, T6, T7> MultiValueConstLength for MultiValue8<T0, T1, T2, T3, T4, T5, T6, T7>

Source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8> MultiValueConstLength for MultiValue9<T0, T1, T2, T3, T4, T5, T6, T7, T8>

Source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9> MultiValueConstLength for MultiValue10<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9>

Source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> MultiValueConstLength for MultiValue11<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>

Source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> MultiValueConstLength for MultiValue12<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>

Source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12> MultiValueConstLength for MultiValue13<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>

Source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13> MultiValueConstLength for MultiValue14<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>

Source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14> MultiValueConstLength for MultiValue15<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14>

Source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15> MultiValueConstLength for MultiValue16<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15>

Source§

impl<T> MultiValueConstLength for T
where T: TopEncode + TopDecode,