Type / FeatureMemorySemanticsMutabilityEquality
Classheapreferencemutablereference
Recordheapreferenceimmutablevalue
Structstackvaluemutablevalue (inefficient)