Trait std::num::ZeroablePrimitive
source · pub trait ZeroablePrimitive: Sized + Copy + Sealed { }
🔬This is a nightly-only experimental API. (
nonzero_internals
)Expand description
A marker trait for primitive types which can be zero.
This is an implementation detail for NonZero<T>
which may disappear or be replaced at any time.
Object Safety§
This trait is not object safe.