Trait std::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, Z, Y, X, W, V, U, T> ConstParamTy for (A, Z, Y, X, W, V, U, T)where A: ConstParamTy, Z: ConstParamTy, Y: ConstParamTy, X: ConstParamTy, W: ConstParamTy, V: ConstParamTy, U: ConstParamTy, T: ConstParamTy,

source§

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

source§

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

source§

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

source§

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

source§

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

source§

impl<T> ConstParamTy for [T]where T: ConstParamTy,

source§

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

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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