floating_ui_dom

Type Alias AutoPlacement

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

Auto placement middleware.

Optimizes the visibility of the floating element by choosing the placement that has the most space available automatically, without needing to specify a preferred placement.

Alternative to Flip.

See the Rust Floating UI book for more documentation.

Aliased Typeยง

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