Skip to main content

zeroed

Function zeroed 

Source
pub fn zeroed<T>() -> impl Init<T>
where T: Zeroable,
Expand description

Create a new zeroed T.

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