pub trait PointerKindVariant: Sealed {
const VALUE: PointerKind;
}
Expand description
For restricting types to the type-level equivalents of PointerKind
variants.
This trait is sealed, cannot be implemented outside this module, and won’t be implemented for any more types.
Required Associated Constants§
Sourceconst VALUE: PointerKind
const VALUE: PointerKind
The value of the PointerKind variant Self is equivalent to.
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.