[−][src]Trait clear_on_drop::clear::InitializableFromZeroed
A type that can be initialized to a valid value, after being set to all-bits-zero.
Required methods
unsafe fn initialize(place: *mut Self)
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.
Implementors
impl InitializableFromZeroed for str
[src]
unsafe fn initialize(_place: *mut Self)
[src]
impl<T> InitializableFromZeroed for T where
T: Default,
[src]
T: Default,
unsafe fn initialize(place: *mut Self)
[src]
impl<T> InitializableFromZeroed for [T] where
T: ZeroSafe,
[src]
T: ZeroSafe,