std::marker

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§