Skip to main content

pin_drag_guides

Function pin_drag_guides 

Source
pub fn pin_drag_guides(
    data: &Drawing<'_>,
    moving: &[PinMove],
    exclude: &[PinId],
) -> Vec<[Pos2; 2]>
Expand description

Guides for a pin drag: each previewed pin — the same PinMove the commit will carry — matches against every other pin stub except exclude.