pub fn annotate_concurrency(
layout: &mut StructLayout,
language: &SourceLanguage,
)Expand description
Update AccessPattern for fields whose type names suggest concurrent access.
This is a best-effort heuristic: it matches well-known synchronisation
wrapper names (Mutex<T>, std::atomic<T>, sync.Mutex, etc.) found in
the TypeInfo name of each field.