Trait floating_ui_core::middleware::Limiter
source · pub trait Limiter<Element, Window>: Debug + DynClone {
// Required method
fn compute(&self, state: MiddlewareState<'_, Element, Window>) -> Coords;
}Expand description
Limiter used by Shift middleware. Limits the shifting done in order to prevent detachment.