Skip to main content

Module arena_cached

Module arena_cached 

Source

Traits§

ArenaCached
Helper trait that allows arena_cache queries to return Option<&T> instead of &Option<T>, and avoid allocating None in the arena.

Functions§

do_alloc 🔒
Allocates a value in either its dedicated arena, or in the common dropless arena, depending on whether it needs to be dropped.