pub trait ConstOrValue<T>: Into<T> {
const IS_CONST_WRAP: bool;
}Expand description
Trait that can be a wrapped const generic or a owned value.
Required Associated Constants§
Sourceconst IS_CONST_WRAP: bool
const IS_CONST_WRAP: bool
get wheter the type is const generic wrapper.
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.