[][src]Macro pathfinder::cluster

macro_rules! cluster {
    () => { ... };
    ($c:expr) => { ... };
    ($x:expr, $y:expr) => { ... };
    ($name:expr, $x:expr, $y:expr) => { ... };
}

initalize Groups using a range of parameters.

Since the macro calls coordinate! it allows for type conversion, be aware that if your values can not be cast to i16. it is better to avoid these macro invocations.

Examples

These are all equal.


cluster!();
cluster!(coordinate!());
cluster!(0, 0);
cluster!("0,0", 0, 0);