This uses the same implementation as Zeroable::zeroed, but being outside the trait it is able to be const. Adds the "const_zeroed" feature, because const mem::zeroed requires rust 1.75.0.
Import changes are due to "zeroed" previously being a private import from mem::*
This uses the same implementation as Zeroable::zeroed, but being outside the trait it is able to be const. Adds the "const_zeroed" feature, because const mem::zeroed requires rust 1.75.0.
Import changes are due to "zeroed" previously being a private import from mem::*