Skip to main content

Module constraints

Module constraints 

Source

StructsΒ§

LocalizedConstraintGraph πŸ”’
The localized constraint graph indexes the physical and logical edges to lazily compute a given node’s successors during traversal.
LocalizedNode πŸ”’
A localized outlives constraint reifies the CFG location where the outlives constraint holds, within the origins themselves as if they were different from point to point: from a: b outlives constraints to a@p: b@p, where p is the point in the CFG.

TraitsΒ§

LocalizedConstraintGraphVisitor πŸ”’
The visitor interface when traversing a LocalizedConstraintGraph.

FunctionsΒ§

compute_backward_successor πŸ”’
Returns the successor for the current region/point node when propagating a loan through backward edges, if applicable, according to liveness and variance.
compute_forward_successor πŸ”’
Returns the successor for the current region/point node when propagating a loan through forward edges, if applicable, according to liveness and variance.