Struct r3::hunk::CfgHunkBuilder [−][src]
pub struct CfgHunkBuilder<System, T: ?Sized, InitTag> { /* fields omitted */ }
Expand description
Configuration builder type for Hunk
.
InitTag
is either DefaultInitTag
or ZeroInitTag
.
Implementations
Specify the element count. Defaults to 1
. Must be 1
for a non-array
hunk.
Zero-initialize the hunk.
Zero-initialize the hunk even if it might be unsafe.
Safety
If zero initialization is not a valid bit pattern for T
, accessing the
hunk’s contents may result in an undefined behavior.
Complete the definition of a hunk, returning a reference to the hunk.