Macro sqrid::grid_create

source ·
macro_rules! grid_create {
    ($sqrid: ty, $member: ty) => { ... };
}
Expand description

Helper macro for grid type creation.

More often than not we want to create a grid form an associated super::base::Sqrid type. This macros makes the process easier.

Example usage:

type Sqrid = sqrid::sqrid_create!(3, 3, false);
type Grid = sqrid::grid_create!(Sqrid, i32);