Skip to main content

settle

Function settle 

pub fn settle(
    moving: Placement,
    others: &[Placement],
    threshold: i32,
) -> Placement
Expand description

Where a dropped display settles: snapped to nearby edges, clear of every other display, and touching at least one of them.