Struct stack_graphs::c::sg_file[][src]

#[repr(C)]
pub struct sg_file { pub name: *const c_char, pub name_len: usize, }
Expand description

A source file that we have extracted stack graph data from.

It’s up to you to choose what names to use for your files, but they must be unique within a stack graph. If you are analyzing files from the local filesystem, the file’s path is a good choice. If your files belong to packages or repositories, they should include the package or repository IDs to make sure that files in different packages or repositories don’t clash with each other.

Fields

name: *const c_charname_len: usize

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.