[go: up one dir, main page]

Module util

Module util 

Source
Expand description

Utilities for common operations.

Structs§

Align
A wrapper which aligns its inner value to 16 bytes.
AlignedVec
A vector of bytes that aligns its memory to the specified alignment.
InlineVec
A vector that uses inline-allocated memory.
SerVec
A vector that uses serializer-allocated memory.

Functions§

clear_arena
Clears the builtin arena allocator.
with_arena
Calls the given function with the builtin arena allocator.