floating-ui-dom 0.6.0

Rust port of Floating UI. Floating UI for the web.
Documentation
1
2
3
4
5
use floating_ui_utils::ClientRectObject;

pub fn rects_are_equal(a: &ClientRectObject, b: &ClientRectObject) -> bool {
    a.x == b.x && a.y == b.y && a.width == b.width && a.height == b.height
}