Skip to main content

obstacle_rect

Function obstacle_rect 

Source
pub fn obstacle_rect(rect: Rect) -> Block
Expand description

A shape’s world rect as the router reads it. The one conversion, so a preview’s obstacle set and anything else that builds one cannot disagree about where a block’s edges are.