Skip to main content

preview_port

Function preview_port 

Source
fn preview_port<C: Canvas>(painter: &mut Style<'_, C>, bbox: Rect)
Expand description

Draw the ghost port outline the placement will produce. The facing is cosmetic here — the real slot side is resolved when the port is created — so the preview always points East.