Expand description
Utility
This module is exempt from the API stability guarantee unless specified otherwise. It’s exposed mostly because it’s needed by macros.
Modules
- Binary heap with a contextful comparator and position tracking
Structs
- Untyped storage of the specified size and alignment. This is analogous to C++’s
std::aligned_storage_t
. - Erases interior mutability by preventing reference forming.
- Like
UnsafeCell
, but implementsSync
.
Constants
- The maximum bit count supported by
FixedPrioBitmap
.
Traits
- Integral types with efficient binary operations.
- Unsigned integral types with efficient binary operations.
- Trait for types having a constant default value. This is essentially a constant version of
Default
. - Trait for
FixedPrioBitmap
. - Trait for types that can be safely created with
zeroed
.
Type Definitions
- A bit array structure supporting logarithmic-time bit scan operations.
- Get the smallest unsigned integer type capable of representing the specified value.
Derive Macros
- Derive the
Zeroable
trait for a struct