Module path_utils

Source

Functionsยง

borrow_of_local_data ๐Ÿ”’
Determines if a given borrow is borrowing local data This is called for all Yield expressions on movable coroutines
each_borrow_involving_path ๐Ÿ”’
Encapsulates the idea of iterating over every borrow that involves a particular path
is_active ๐Ÿ”’
is_upvar_field_projection ๐Ÿ”’
If place is a field projection, and the field is being projected from a closure type, then returns the index of the field being projected. Note that this closure will always be self in the current MIR, because that is the only time we directly access the fields of a closure type.