Module std::sys

Misc low level stuff

Traits

FailWithCause

Trait for initiating task failure.

Functions

begin_unwind_
log_str
min_align_of

Returns the ABI-required minimum alignment of a type

min_align_of_val

Returns the ABI-required minimum alignment of the type of the value that _val points to

nonzero_size_of

Returns the size of a type, or 1 if the actual size is zero.

nonzero_size_of_val

Returns the size of the type of the value that _val points to

pref_align_of

Returns the preferred alignment of a type

pref_align_of_val

Returns the preferred alignment of the type of the value that _val points to

refcount

Returns the refcount of a shared box (as just before calling this)

size_of

Returns the size of a type

size_of_val

Returns the size of the type that _val points to