Type Definition stack_graphs::c::sg_file_handle

source ·
pub type sg_file_handle = u32;
Expand description

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

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

Trait Implementations§

Converts this type into the (usually inferred) input type.