pub trait InitializableFromZeroed {
    unsafe fn initialize(place: *mut Self);
}
Expand description

A type that can be initialized to a valid value, after being set to all-bits-zero.

Required Methods

Called to initialize a place to a valid value, after it is set to all-bits-zero.

If all-bits-zero is a valid value for a place, this method can be left empty.

Implementations on Foreign Types

Implementors