Trait UnsizedConstParamTy

Source
pub trait UnsizedConstParamTy: StructuralPartialEq + Eq { }
🔬This is a nightly-only experimental API. (unsized_const_params #95174)
Expand description

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

Equivalent to ConstParamTy_ except that this is used by the unsized_const_params to allow for fake unstable impls.

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 UnsizedConstParamTy for AtomicOrdering

Source§

impl UnsizedConstParamTy for bool

Source§

impl UnsizedConstParamTy for char

Source§

impl UnsizedConstParamTy for i8

Source§

impl UnsizedConstParamTy for i16

Source§

impl UnsizedConstParamTy for i32

Source§

impl UnsizedConstParamTy for i64

Source§

impl UnsizedConstParamTy for i128

Source§

impl UnsizedConstParamTy for isize

Source§

impl UnsizedConstParamTy for str

Source§

impl UnsizedConstParamTy for u8

Source§

impl UnsizedConstParamTy for u16

Source§

impl UnsizedConstParamTy for u32

Source§

impl UnsizedConstParamTy for u64

Source§

impl UnsizedConstParamTy for u128

Source§

impl UnsizedConstParamTy for ()

Source§

impl UnsizedConstParamTy for usize

Source§

impl UnsizedConstParamTy for Assume

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

impl<T: UnsizedConstParamTy> UnsizedConstParamTy for [T]

Source§

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

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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