Skip to main content

is_internal_only

Function is_internal_only 

Source
const fn is_internal_only(f: &Function<'_>) -> bool
Expand description

Internal functions and modifiers are only reachable from the compilation unit, so their parameters can be proven safe from the invocation sites seen there.