UseToHashMethod

For classes (and structs with toHash method) we use v.toHash() to compute hash. =============================================================================== toHash method CAN BE @nogc or not. HashMap 'nogc' properties is inherited from this method. toHash method MUST BE @safe or @trusted, as all HashMap code alredy safe. See also: https://dlang.org/spec/hash-map.html#using_classes_as_key and https://dlang.org/spec/hash-map.html#using_struct_as_key

bool
UseToHashMethod
(
T
)
()