Trait r3::hunk::HunkIniter

source ·
pub trait HunkIniter<T> {
    const NEEDS_INIT: bool;

    fn init(dest: &mut MaybeUninit<T>);
}
Expand description

Implemented on DefaultInitTag and ZeroInitTag when T can be initialized in this way.

Required Associated Constants

A flag indicating whether Self::init should be called for initialization.

Required Methods

Initialize the specified memory region.

Implementors