sg_symbol_handle

Type Alias sg_symbol_handle 

Source
pub type sg_symbol_handle = u32;
Expand description

A handle to a symbol in a stack graph. A zero handle represents a missing symbol.

We deduplicate symbols in a stack graph — that is, we ensure that there are never multiple struct sg_symbol instances with the same content. That means that you can compare symbol handles using simple equality, without having to dereference them.