Skip to main content

scope_shapes

Function scope_shapes 

Source
fn scope_shapes<'a>(
    indexed: &'a IndexedDocument<'a>,
    scope: BlockId,
) -> impl Iterator<Item = (Shape, GridRect)> + 'a
Expand description

Every routing shape drawn in scope, with its rect — the obstacle set a move is tested against. The document root is a scope like any other, holding top-level blocks and no ports.