CompletionProposal.hash

uint hash()

Get the hash value of proposal. This is used to (together with [gtksource.completion_proposal.CompletionProposal.equal]) to match proposals in the completion model. By default, it uses a direct hash ([glib.global.directHash]).

Returns

The hash value of proposal.