Skip to main content

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.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§