CdmNode.toHash

size_t toHash() const pure nothrow @trusted

Computes a hash value for this CdmNode.

This implementation is consistent with opEquals: two nodes that compare equal will have the same hash value. Like opEquals, only the semantic value content is hashed, not metadata (location, format, comments).

Returns

A hash value suitable for use in associative arrays.