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§

source

const NEEDS_INIT: bool

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

Required Methods§

source

fn init(dest: &mut MaybeUninit<T>)

Initialize the specified memory region.

Implementors§