pub trait NewZeroed {
// Required method
fn new_zeroed() -> Self;
}
Expand description
Workaround trait, since Default
is only implemented to arrays up to 32 of size
Required Methods§
sourcefn new_zeroed() -> Self
fn new_zeroed() -> Self
Creates a new value with its memory set to zero
Object Safety§
This trait is not object safe.