flowistry_pdg

Function allocative_visit_map_coerce_key

Source
pub fn allocative_visit_map_coerce_key<'a, K, V: Allocative>(
    map: &'a HashMap<K, V>,
    visitor: &mut Visitor<'a>,
)
Expand description

A function that is fit to be handed to #[allocative(visit = "...")] for a map where the key does not implement Allocative, but also has no attached heap data.

Uses SimpleSizedAllocativeWrapper under the hood, see its documentation for more information.