Trait core::marker::ConstParamTy

source ·
pub trait ConstParamTy: StructuralEq + StructuralPartialEq { }
🔬This is a nightly-only experimental API. (adt_const_params #95174)
Expand description

A marker for types which can be used as types of const generic parameters.

Implementors§

source§

impl ConstParamTy for bool

source§

impl ConstParamTy for char

source§

impl ConstParamTy for i8

source§

impl ConstParamTy for i16

source§

impl ConstParamTy for i32

source§

impl ConstParamTy for i64

source§

impl ConstParamTy for i128

source§

impl ConstParamTy for isize

source§

impl ConstParamTy for str

source§

impl ConstParamTy for u8

source§

impl ConstParamTy for u16

source§

impl ConstParamTy for u32

source§

impl ConstParamTy for u64

source§

impl ConstParamTy for u128

source§

impl ConstParamTy for ()

source§

impl ConstParamTy for usize

source§

impl ConstParamTy for Assume

source§

impl<A: ConstParamTy, Z: ConstParamTy, Y: ConstParamTy, X: ConstParamTy, W: ConstParamTy, V: ConstParamTy, U: ConstParamTy, T: ConstParamTy> ConstParamTy for (A, Z, Y, X, W, V, U, T)

source§

impl<B: ConstParamTy, A: ConstParamTy, Z: ConstParamTy, Y: ConstParamTy, X: ConstParamTy, W: ConstParamTy, V: ConstParamTy, U: ConstParamTy, T: ConstParamTy> ConstParamTy for (B, A, Z, Y, X, W, V, U, T)

source§

impl<C: ConstParamTy, B: ConstParamTy, A: ConstParamTy, Z: ConstParamTy, Y: ConstParamTy, X: ConstParamTy, W: ConstParamTy, V: ConstParamTy, U: ConstParamTy, T: ConstParamTy> ConstParamTy for (C, B, A, Z, Y, X, W, V, U, T)

source§

impl<D: ConstParamTy, C: ConstParamTy, B: ConstParamTy, A: ConstParamTy, Z: ConstParamTy, Y: ConstParamTy, X: ConstParamTy, W: ConstParamTy, V: ConstParamTy, U: ConstParamTy, T: ConstParamTy> ConstParamTy for (D, C, B, A, Z, Y, X, W, V, U, T)

source§

impl<E: ConstParamTy, D: ConstParamTy, C: ConstParamTy, B: ConstParamTy, A: ConstParamTy, Z: ConstParamTy, Y: ConstParamTy, X: ConstParamTy, W: ConstParamTy, V: ConstParamTy, U: ConstParamTy, T: ConstParamTy> ConstParamTy for (E, D, C, B, A, Z, Y, X, W, V, U, T)

source§

impl<T: ConstParamTy> ConstParamTy for [T]

source§

impl<T: ConstParamTy> ConstParamTy for (T₁, T₂, …, Tₙ)

This trait is implemented for tuples up to twelve items long.

source§

impl<T: ConstParamTy, const N: usize> ConstParamTy for [T; N]

source§

impl<T: ?Sized + ConstParamTy> ConstParamTy for &T

source§

impl<U: ConstParamTy, T: ConstParamTy> ConstParamTy for (U, T)

source§

impl<V: ConstParamTy, U: ConstParamTy, T: ConstParamTy> ConstParamTy for (V, U, T)

source§

impl<W: ConstParamTy, V: ConstParamTy, U: ConstParamTy, T: ConstParamTy> ConstParamTy for (W, V, U, T)

source§

impl<X: ConstParamTy, W: ConstParamTy, V: ConstParamTy, U: ConstParamTy, T: ConstParamTy> ConstParamTy for (X, W, V, U, T)

source§

impl<Y: ConstParamTy, X: ConstParamTy, W: ConstParamTy, V: ConstParamTy, U: ConstParamTy, T: ConstParamTy> ConstParamTy for (Y, X, W, V, U, T)

source§

impl<Z: ConstParamTy, Y: ConstParamTy, X: ConstParamTy, W: ConstParamTy, V: ConstParamTy, U: ConstParamTy, T: ConstParamTy> ConstParamTy for (Z, Y, X, W, V, U, T)