pub fn track_static_init<T>(
var_name: &str,
var_id: usize,
type_name: &str,
is_mutable: bool,
value: T,
) -> TExpand description
Track static variable initialization.
Records a StaticInit event. Use this when a static variable is first initialized.
§Arguments
var_name- Name of the static variablevar_id- Unique identifier for the variabletype_name- Type of the static variableis_mutable- Whether this is astatic mutvalue- The initial value (returned unchanged)
§Returns
The input value, unchanged.