compute_coords_from_placement

Function compute_coords_from_placement 

Source
pub fn compute_coords_from_placement(
    _: &ElementRects,
    placement: Placement,
    rtl: Option<bool>,
) -> Coords
Expand description

Computes the x and y coordinates that will place the floating element next to a given reference element based on a placement.