Function pin_init::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
.
pub fn init_zeroed<T: Zeroable>() -> impl Init<T>
Create an initializer for a zeroed T
.
The returned initializer will write 0x00
to every byte of the given slot
.