Function floating_ui_core::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.