DistributeGrid

Trait DistributeGrid 

Source
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§

Source

fn distribute_grid(&self, rect: Rect, rows: Integer, columns: Integer) -> T

Distribute in a grid.

Implementors§