Type Alias PositioningFn

Source
pub type PositioningFn = dyn FnMut(f32, f32, f32, f32);
Expand description

Allows a closure to ensure a layout item has been placed where the layout engine decided it should go. The parameters are the x, y coordinates, and the width/height respectively.