fn terminates(body: &Block) -> bool
True when body may end the loop it belongs to: a ? or return anywhere outside closures and async blocks, a break that leaves it, or a continue aimed at an outer loop.
body
?
return
break
continue