Trait r3_core::hunk::HunkIniter
source · pub trait HunkIniter<T> {
const NEEDS_INIT: bool;
// Required method
fn init(dest: &mut MaybeUninit<T>);
}
Expand description
Implemented on DefaultInitTag
and ZeroInitTag
when T
can be
initialized in this way.
Required Associated Constants§
sourceconst NEEDS_INIT: bool
const NEEDS_INIT: bool
A flag indicating whether Self::init
should be called for
initialization.
Required Methods§
sourcefn init(dest: &mut MaybeUninit<T>)
fn init(dest: &mut MaybeUninit<T>)
Initialize the specified memory region.