Function init_zeroed

Source
pub fn init_zeroed<T: Zeroable>() -> impl Init<T>
Expand description

Create an initializer for a zeroed T.

The returned initializer will write 0x00 to every byte of the given slot.