scale_info::prelude::marker

Trait UnsizedConstParamTy

Source
pub trait UnsizedConstParamTy: StructuralPartialEq + Eq { }
๐Ÿ”ฌThis is a nightly-only experimental API. (unsized_const_params)
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ยง