Function shadow_pod::zeroed
source ยท pub fn zeroed<T>() -> Twhere
T: Pod,
Expand description
Create a value of type T
, with contents initialized to 0s.
pub fn zeroed<T>() -> Twhere
T: Pod,
Create a value of type T
, with contents initialized to 0s.