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 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)