Module mir

Source

Modulesยง

possible_borrower ๐Ÿ”’
possible_origin ๐Ÿ”’
transitive_relation ๐Ÿ”’

Structsยง

LocalUsage
PossibleBorrowerMap
Result of PossibleBorrowerVisitor.
V ๐Ÿ”’

Functionsยง

block_in_cycle
Checks if the block is part of a cycle
enclosing_mir
Returns the mir::Body containing the node associated with hir_id.
expr_local
Tries to determine the Local corresponding to expr, if any. This function is expensive and should be used sparingly.
is_local_assignment ๐Ÿ”’
local_assignments
Returns a vector of mir::Location where local is assigned.
used_exactly_once
Convenience wrapper around visit_local_usage.
visit_local_usage