Struct constmuck::ImplsZeroable [−][src]
pub struct ImplsZeroable<T> { /* fields omitted */ }
Expand description
Encodes a T:
Zeroable
bound as a value,
avoids requiring (unstable as of 2021) trait bounds in const fn
s.
Related: the zeroed
and zeroed_array
functions.
Implementations
Constructs an ImplsZeroable<T>
without checking that T
implements Zeroable
.
Safety
You must ensure that T
follows the
safety requirements of Zeroable