Function pinned_init::zeroed
source · pub fn zeroed<T: Zeroable, E>() -> impl Init<T, E>
Expand description
Create a new zeroed T.
The returned initializer will write 0x00
to every byte of the given slot
.
pub fn zeroed<T: Zeroable, E>() -> impl Init<T, E>
Create a new zeroed T.
The returned initializer will write 0x00
to every byte of the given slot
.