Skip to main content

Module data

Module data 

Source

Modules§

data_stack
Type-erased stack that carries values between function calls.
lifetime
Runtime borrow checking for values Rust cannot track statically.
managed
Value boxes with runtime checked borrowing.
shared
Shared ownership wrappers with fallible, non-panicking access.
type_hash
Cheap runtime type identity.

Enums§

Finalizer
How an owning box drops the value it holds.

Traits§

Destructor
Drops a value whose type has no Rust counterpart.
Finalize
Drops a value through a raw pointer.
Initialize
Writes a default value through a raw pointer.

Functions§

non_zero_alloc
std::alloc::alloc that accepts zero-sized layouts.
non_zero_alloc_zeroed
std::alloc::alloc_zeroed that accepts zero-sized layouts.
non_zero_dealloc
std::alloc::dealloc counterpart of non_zero_alloc.
non_zero_realloc
std::alloc::realloc counterpart of non_zero_alloc.
pointer_alignment_padding
Returns how many bytes must be skipped after pointer to reach an address aligned to alignment.