Struct r3::hunk::DefaultInitTag
source · pub struct DefaultInitTag;
Expand description
As a generic parameter of HunkDefiner
, indicates that the hunk
should be initialized with Init
.
Trait Implementations§
source§impl Clone for DefaultInitTag
impl Clone for DefaultInitTag
source§fn clone(&self) -> DefaultInitTag
fn clone(&self) -> DefaultInitTag
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for DefaultInitTag
impl Debug for DefaultInitTag
source§impl<T> HunkIniter<T> for DefaultInitTagwhere
T: Init,
impl<T> HunkIniter<T> for DefaultInitTagwhere T: Init,
source§const NEEDS_INIT: bool = true
const NEEDS_INIT: bool = true
A flag indicating whether
Self::init
should be called for
initialization.source§fn init(dest: &mut MaybeUninit<T>)
fn init(dest: &mut MaybeUninit<T>)
Initialize the specified memory region.
source§impl PartialEq<DefaultInitTag> for DefaultInitTag
impl PartialEq<DefaultInitTag> for DefaultInitTag
source§fn eq(&self, other: &DefaultInitTag) -> bool
fn eq(&self, other: &DefaultInitTag) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.