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.

Specify the minimum alignment. Defaults to 1.

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.

Complete the definition of a hunk, returning a reference to the hunk.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.