Function kernel::init::zeroed

source · []
pub fn zeroed<T: Zeroable>() -> impl Init<T>
Expand description

Create a new zeroed T.

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