[−][src]Macro pathfinder::coordinate
initalize Coordinates using a range of parameters.
Examples
These are all equal.
coordinate!(); coordinate!(0); coordinate!(0, 0);
Type conversion is performed to make invocation easier.
If you are not sure if the value you pass can be converted to a i16, do not use this macro as values could overflow.
coordinate!(0.0); coordinate!(0u8, 0i128);