Struct r3::hunk::ZeroInitTag
source · pub struct ZeroInitTag;
Expand description
As a generic parameter of HunkDefiner
, indicates that the hunk
should be zero-initialized.
Trait Implementations§
source§impl Clone for ZeroInitTag
impl Clone for ZeroInitTag
source§fn clone(&self) -> ZeroInitTag
fn clone(&self) -> ZeroInitTag
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 ZeroInitTag
impl Debug for ZeroInitTag
source§impl<T> HunkIniter<T> for ZeroInitTag
impl<T> HunkIniter<T> for ZeroInitTag
source§const NEEDS_INIT: bool = false
const NEEDS_INIT: bool = false
A flag indicating whether
Self::init
should be called for
initialization.source§fn init(_: &mut MaybeUninit<T>)
fn init(_: &mut MaybeUninit<T>)
Initialize the specified memory region.
source§impl PartialEq<ZeroInitTag> for ZeroInitTag
impl PartialEq<ZeroInitTag> for ZeroInitTag
source§fn eq(&self, other: &ZeroInitTag) -> bool
fn eq(&self, other: &ZeroInitTag) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.