floating_ui_dom

Type Alias Shift

Source
pub type Shift<'a> = Shift<'a, Element, Window>;
Expand description

Shift middleware.

Optimizes the visibility of the floating element by shifting it in order to keep it in view when it will overflow the clipping boundary.

See the Rust Floating UI book for more documentation.

Aliased Typeยง

struct Shift<'a> { /* private fields */ }