pub trait DistributeGrid<T = Self> {
// Required method
fn distribute_grid(&self, rect: Rect, rows: Integer, columns: Integer) -> T;
}Expand description
Trait to distribute geometries in a 2D grid.
Required Methods§
Sourcefn distribute_grid(&self, rect: Rect, rows: Integer, columns: Integer) -> T
fn distribute_grid(&self, rect: Rect, rows: Integer, columns: Integer) -> T
Distribute in a grid.