Skip to main content

is_function_local_unit

Function is_function_local_unit 

Source
pub fn is_function_local_unit(unit: &CodeUnit) -> bool
Expand description

Whether unit is a function-local class or a member of one. Extraction scopes those through their callable, so a callable segment sits inside the identity rather than at its end; no namespace-scope spelling names them.