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
sourceimpl Clone for DefaultInitTag
impl Clone for DefaultInitTag
sourcefn clone(&self) -> DefaultInitTag
fn clone(&self) -> DefaultInitTag
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for DefaultInitTag
impl Debug for DefaultInitTag
sourceimpl<T> HunkIniter<T> for DefaultInitTagwhere
T: Init,
impl<T> HunkIniter<T> for DefaultInitTagwhere
T: Init,
sourceconst NEEDS_INIT: bool = true
const NEEDS_INIT: bool = true
A flag indicating whether
Self::init
should be called for
initialization. Read moresourcefn init(dest: &mut MaybeUninit<T>)
fn init(dest: &mut MaybeUninit<T>)
Initialize the specified memory region.
sourceimpl PartialEq<DefaultInitTag> for DefaultInitTag
impl PartialEq<DefaultInitTag> for DefaultInitTag
sourcefn eq(&self, other: &DefaultInitTag) -> bool
fn eq(&self, other: &DefaultInitTag) -> bool
impl Copy for DefaultInitTag
impl Eq for DefaultInitTag
impl StructuralEq for DefaultInitTag
impl StructuralPartialEq for DefaultInitTag
Auto Trait Implementations
impl RefUnwindSafe for DefaultInitTag
impl Send for DefaultInitTag
impl Sync for DefaultInitTag
impl Unpin for DefaultInitTag
impl UnwindSafe for DefaultInitTag
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more