pub type PopupMenuPositionBuilder = Rc<dyn Fn(&mut App, BuildContext, BoxConstraints) -> RelativeRect>;Expand description
A callback that returns a RelativeRect that describes the position of the popup menu.
The constraints argument describes the constraints of the menu’s overlay, as a
LayoutBuilder’s builder receives them.
Aliased Type§
pub struct PopupMenuPositionBuilder { /* private fields */ }