namespace AIStudio.Tools.Rust; /// /// The cursor position of a drag and drop event. /// /// /// The coordinates are viewport-relative CSS pixels, on every platform. The Rust runtime has already /// dealt with the platform differences -- device pixels on Windows, logical points on macOS and Linux -- /// so these numbers can be handed to the browser for a hit test without any further conversion. /// /// The distance from the left edge of the viewport, in CSS pixels. /// The distance from the top edge of the viewport, in CSS pixels. public readonly record struct DropPosition(double X, double Y);